mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:14:33 +02:00
Fix #815971 (Garbage in Job Detail List)
This commit is contained in:
parent
68632c1853
commit
6867bde932
1 changed files with 2 additions and 1 deletions
|
|
@ -141,7 +141,8 @@ def __cmp__(self, other):
|
|||
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…
Reference in a new issue