1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 23:37:14 +03:00

EDMC.py: Small fix to exception handling.

Now stymied on further work due to game patch today and CAPI being
down.
This commit is contained in:
Athanasius 2019-09-18 15:30:29 +01:00
parent ddf2babaaa
commit 69bcb9d6fa

View File

@ -94,7 +94,7 @@ try:
if __debug__:
print('Invalid journal entry "%s"' % repr(line))
except Exception as e:
sys.stderr.write("Can't read Journal file: %s\n" % unicode(e).encode('ascii', 'replace'))
sys.stderr.write("Can't read Journal file: %s\n" % str(e).encode('ascii', 'replace'))
sys.exit(EXIT_SYS_ERR)
if not monitor.cmdr: