From 21f2f9f78c20284da5d9403bfaece93339c14496 Mon Sep 17 00:00:00 2001 From: kalt_r Date: Tue, 28 Jun 2016 11:24:16 +0200 Subject: [PATCH] Script execution --- script/local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 + '" '