Script execution
This commit is contained in:
1 parent
4d4e96a63d
commit
21f2f9f78c
1 file changed
+2
-1
+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