From 69bcb9d6fa270316173550d14343848bab7f331a Mon Sep 17 00:00:00 2001
From: Athanasius <github@miggy.org>
Date: Wed, 18 Sep 2019 15:30:29 +0100
Subject: [PATCH] EDMC.py: Small fix to exception handling.

  Now stymied on further work due to game patch today and CAPI being
down.
---
 EDMC.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/EDMC.py b/EDMC.py
index 66266f2b..5c319b95 100755
--- a/EDMC.py
+++ b/EDMC.py
@@ -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: