From 6573a2469e970a67cfc5517abab1a55d68d31d58 Mon Sep 17 00:00:00 2001 From: kalt_r Date: Wed, 29 Jun 2016 14:53:40 +0200 Subject: [PATCH] Script execution --- script/local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/local.py b/script/local.py index 687e392..e1cd7fe 100755 --- a/script/local.py +++ b/script/local.py @@ -107,8 +107,8 @@ def elogllrf(subject, message, system, subsystem, section, attachments = []): cmd = cmd + '-a "Machine=SwissFEL" ' cmd = cmd + '-a "Domain=All"' for attachment in attachments: - cmd = cmd + '-f "' + attachment + '" ' - print attachment + cmd = cmd + ' -f "' + attachment + '" ' + #print attachment cmd = cmd + ' -x -n 1' cmd = cmd + ' "' + message + '"' print cmd