1
0
Fork 0
mirror of https://github.com/marenz2569/ut803-plot synced 2025-06-28 15:46:06 +02:00

fixed bug

This commit is contained in:
Markus Schmidl 2017-08-05 03:01:15 +02:00
parent b64dd7ec2f
commit 064acbf77b

View file

@ -330,7 +330,7 @@ def main():
logging.info('Writing to file "{}"'.format(file_name))
header = "timestamp;{}\n".format(";".join(CSV_FIELDS))
output_file.write(header)
elif args.mode == 'chch':
elif args.mode == 'plot':
if args.file:
file_name = args.file
else: