Skip to content

Commit

Permalink
Fix typerror in file logging --autopull
Browse files Browse the repository at this point in the history
  • Loading branch information
angussidney committed Sep 9, 2018
1 parent bbeb033 commit 63a96b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.py
Expand Up @@ -63,7 +63,7 @@ def log_file(log_level, *args):
'warning': 2,
'error': 3,
}
if levels[log_level][0] < Helpers.min_log_level:
if levels[log_level] < Helpers.min_log_level:
return

log_str = "[{}] {}: {}".format(datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S"), log_level.upper(),
Expand Down

0 comments on commit 63a96b3

Please sign in to comment.