We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad47a9 commit e99a554Copy full SHA for e99a554
scripts/smart_worker.py
@@ -50,12 +50,12 @@ def main():
50
51
with open(stdout_filename, 'a') as stdout_file:
52
with open(stderr_filename, 'a') as stderr_file:
53
- if not stdout_already_exists:
+ if stdout_already_exists:
54
stdout_file.write(t.strftime("## %Y-%m-%d %H:%M:%S ##\n"))
55
else:
56
stdout_file.write("# " + command + '\n')
57
58
- if not stderr_already_exists:
+ if stderr_already_exists:
59
stderr_file.write(t.strftime("## %Y-%m-%d %H:%M:%S ##\n"))
60
61
stderr_file.write("# " + command + '\n')
0 commit comments