png.py: Fix undefined name 'e'. (nw)

This commit is contained in:
Mike Naberezny 2015-11-02 23:01:49 -08:00
parent f76c73b917
commit 2323a3c851

View file

@ -2778,4 +2778,5 @@ if __name__ == '__main__':
try:
_main(sys.argv)
except Error:
print (sys.exc_info()[1], file=e)
e = sys.exc_info()[1]
print(e, file=sys.stderr)