Skip to content
Snippets Groups Projects
Commit c8fde335 authored by Tommi Penttinen's avatar Tommi Penttinen
Browse files

Fixed Python string formatting

parent 3bcb9fd6
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -5,7 +5,7 @@ import sys ...@@ -5,7 +5,7 @@ import sys
def main(): def main():
output_file = sys.argv[1] output_file = sys.argv[1]
print("Saving output to %" % output_file) print("Saving output to %s" % output_file)
for line in sys.stdin: for line in sys.stdin:
entry = line.strip() + ',' + datetime.datetime.now().isoformat() entry = line.strip() + ',' + datetime.datetime.now().isoformat()
with open(output_file, 'a') as f: with open(output_file, 'a') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment