From 662d35f0bb554cb26eaa4f94644163eb1c2943a1 Mon Sep 17 00:00:00 2001 From: Athanasius <github@miggy.org> Date: Wed, 11 Sep 2019 12:56:00 +0100 Subject: [PATCH] Fixes str/bytes issues on "Last updated at" UI update --- EDMarketConnector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 81a59079..2a79ab71 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -503,7 +503,7 @@ class AppWindow(object): play_bad = True if not self.status['text']: # no errors - self.status['text'] = strftime(_('Last updated at {HH}:{MM}:{SS}').format(HH='%H', MM='%M', SS='%S').encode('utf-8'), localtime(querytime)).decode('utf-8') + self.status['text'] = strftime(_('Last updated at {HH}:{MM}:{SS}').format(HH='%H', MM='%M', SS='%S'), localtime(querytime)) if play_sound and play_bad: hotkeymgr.play_bad()