bugfix: report again correctly

This commit is contained in:
Martin Diehl 2020-03-16 20:02:05 +01:00
parent a1beb80b54
commit 794d7e485e
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def croak(what, newline = True):
Separate items of what by newline. Defaults to True.
"""
if not what:
if what:
sys.stderr.write(srepr(what,glue = '\n') + ('\n' if newline else ''))
sys.stderr.flush()