diff options
-rw-r--r-- | scripts/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/utils.py b/scripts/utils.py index 0d7f67a..2c20262 100644 --- a/scripts/utils.py +++ b/scripts/utils.py @@ -62,7 +62,8 @@ def callsubprocess(process_name, process, show_output = True, regular = "", rtn = "" with open(os.path.join(sf(conf.log_folder), process_name + '-' + time.strftime("%y-%m-%d-%H-%M-%S") + ".log"), - "w") as f: + "a") as f: + f.write('::' + time.strftime("%y-%m-%d-%H-%M-%S-%f") + '::') for linen in sprc.stdout: line = linen.decode(sys.getdefaultencoding()) f.write(line) |