mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-12 11:20:09 +00:00
[Console] Ensure time string is unicode
This commit is contained in:
parent
4c0be7ddd4
commit
c655da38c8
1 changed files with 2 additions and 0 deletions
|
@ -607,6 +607,8 @@ class EventLog(component.Component):
|
||||||
|
|
||||||
if date_different:
|
if date_different:
|
||||||
string = time.strftime(self.date_change_format)
|
string = time.strftime(self.date_change_format)
|
||||||
|
if deluge.common.PY2:
|
||||||
|
string = string.decode()
|
||||||
self.console.write_event(' ')
|
self.console.write_event(' ')
|
||||||
self.console.write_event(string)
|
self.console.write_event(string)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue