mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -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):
|
def log_file(self):
|
||||||
if self.log_path:
|
if self.log_path:
|
||||||
return open(self.log_path, 'rb')
|
return open(self.log_path, 'rb')
|
||||||
return cStringIO.StringIO(_('No details available.'))
|
return cStringIO.StringIO(_('No details available.').encode('utf-8',
|
||||||
|
'replace'))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def details(self):
|
def details(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user