fixed bug

This commit is contained in:
Markus Schmidl 2017-08-05 03:01:15 +02:00
parent b64dd7ec2f
commit 064acbf77b
1 changed files with 1 additions and 1 deletions

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: