mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:24:49 +02:00
Fix #973336 (calibre, version 0.8.45 ERROR: Unhandled exception: <b>AttributeError</b>:'int' object has no attribute 'replace' Traceback (most recent call last): File "site-packages/calibre/gui2/cover_flow.py", line 74, in caption AttributeError: 'int' object has no attribute 'replace')
This commit is contained in:
parent
3a758cc7d2
commit
c8c4389a61
1 changed files with 2 additions and 1 deletions
|
|
@ -69,9 +69,10 @@ def caption(self, index):
|
|||
ans = self.model.title(index)
|
||||
if not ans:
|
||||
ans = ''
|
||||
ans = ans.replace('&', '&&')
|
||||
except:
|
||||
ans = ''
|
||||
return ans.replace('&', '&&')
|
||||
return ans
|
||||
|
||||
def subtitle(self, index):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue