Script execution

This commit is contained in:
kalt_r
2016-06-29 14:51:29 +02:00
parent 132ef7304a
commit d650ab8665

View File

@@ -106,8 +106,9 @@ def elogllrf(subject, message, system, subsystem, section, attachments = []):
cmd = cmd + '-a "Subsystem=' + subsystem + '" '
cmd = cmd + '-a "Machine=SwissFEL" '
cmd = cmd + '-a "Domain=All"'
for i in attachments:
cmd = cmd + '-f "' + attachments[i] + '" '
for attachment in attachments:
cmd = cmd + '-f "' + attachment + '" '
print attachement
cmd = cmd + ' -x -n 1'
cmd = cmd + ' "' + message + '"'
print cmd