diff --git a/script/local.py b/script/local.py index f4ea2a4..a724ce5 100755 --- a/script/local.py +++ b/script/local.py @@ -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 + '" '