Commit a4e6db55 authored by Andrew McNab's avatar Andrew McNab
Browse files

Fix hs06_job in prologue.user

parent 70dd7cc6
VERSION=00.04 VERSION=00.05
...@@ -139,12 +139,12 @@ except: ...@@ -139,12 +139,12 @@ except:
# hs06_job is a float so special handling # hs06_job is a float so special handling
if 'hs06_job=' in fromRun + fromSysconfig: if 'hs06_job=' in fromRun + fromSysconfig:
try: try:
matchObject = re.search(key + "=([0-9.]*)", fromSysconfig + fromRun) matchObject = re.search("hs06_job=([0-9.]*)", fromSysconfig + fromRun)
hs06_job = float(matchObject.group(1)) hs06_job = float(matchObject.group(1))
except: except:
pass pass
if hs06_job: if hs06_job:
# Has been defined here or before # Has been defined here or before
open(jobfeaturesDir + '/hs06_job', 'w').write('%.2f' % hs06_job) open(jobfeaturesDir + '/hs06_job', 'w').write('%.2f' % hs06_job)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment