Skip to content

Commit

Permalink
Fix small logging bug
Browse files Browse the repository at this point in the history
  • Loading branch information
suchow committed Sep 27, 2015
1 parent 71ff5ac commit aad391f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions proselint/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ def proselint(version, file):
text = f.read()
for check in checks:
errors = check(text)
for error in errors:
log_error(*error)
if errors:
for error in errors:
log_error(*error)

0 comments on commit aad391f

Please sign in to comment.