mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-15 00:30:33 +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:
parent
ddf2babaaa
commit
69bcb9d6fa
2
EDMC.py
2
EDMC.py
@ -94,7 +94,7 @@ try:
|
|||||||
if __debug__:
|
if __debug__:
|
||||||
print('Invalid journal entry "%s"' % repr(line))
|
print('Invalid journal entry "%s"' % repr(line))
|
||||||
except Exception as e:
|
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)
|
sys.exit(EXIT_SYS_ERR)
|
||||||
|
|
||||||
if not monitor.cmdr:
|
if not monitor.cmdr:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user