Script execution

This commit is contained in:
kalt_r
2016-06-28 11:24:16 +02:00
parent 4d4e96a63d
commit 21f2f9f78c
+2 -1
View File
@@ -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 + '" '