diff options
Diffstat (limited to '')
-rw-r--r-- | track_status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/track_status.py b/track_status.py index 9f22ea3..8f164b7 100644 --- a/track_status.py +++ b/track_status.py @@ -42,7 +42,7 @@ if __name__ == '__main__': with csv.Writer(args.output) as csv_writer: - if csv_writer is not None: + if csv_writer: tracker.add_initial_status_handler(lambda user: csv_writer.write_record(user)) tracker.add_status_update_handler(lambda user: csv_writer.write_record(user)) |