Script execution
This commit is contained in:
+2
-1
@@ -94,7 +94,8 @@ def elogllrf(subject, message, system, subsystem, section, attachments = []):
|
||||
"""
|
||||
Add entry to ELOG.
|
||||
"""
|
||||
author = "pshell/" + controller.getUser().name
|
||||
import getpass
|
||||
author = "pshell/" + getpass.getuser()
|
||||
|
||||
cmd = 'G_CS_ELOG_add -l "LLRF" '
|
||||
cmd = cmd + '-a "Author=' + author + '" '
|
||||
|
||||
Reference in New Issue
Block a user