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 committed 2019-09-26 11:40:42 +01:00
1 parent df987a3a40
commit f91baf8911
1 file changed
+1 -1
+1 -1
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: