mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-02 22:53:40 +00:00
[Console] Ensure time string is unicode
This commit is contained in:
parent
4c0be7ddd4
commit
c655da38c8
@ -607,6 +607,8 @@ class EventLog(component.Component):
|
||||
|
||||
if date_different:
|
||||
string = time.strftime(self.date_change_format)
|
||||
if deluge.common.PY2:
|
||||
string = string.decode()
|
||||
self.console.write_event(' ')
|
||||
self.console.write_event(string)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user