mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Fix #815971 (Garbage in Job Detail List)
This commit is contained in:
parent
68632c1853
commit
6867bde932
@ -141,7 +141,8 @@ class BaseJob(object):
|
||||
def log_file(self):
|
||||
if self.log_path:
|
||||
return open(self.log_path, 'rb')
|
||||
return cStringIO.StringIO(_('No details available.'))
|
||||
return cStringIO.StringIO(_('No details available.').encode('utf-8',
|
||||
'replace'))
|
||||
|
||||
@property
|
||||
def details(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user