mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-10 20:32:12 +03:00
Fixes str/bytes issues on "Last updated at" UI update
This commit is contained in:
parent
08e5b6ff6a
commit
a62c101056
@ -504,7 +504,7 @@ class AppWindow(object):
|
|||||||
play_bad = True
|
play_bad = True
|
||||||
|
|
||||||
if not self.status['text']: # no errors
|
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:
|
if play_sound and play_bad:
|
||||||
hotkeymgr.play_bad()
|
hotkeymgr.play_bad()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user