mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -69,9 +69,10 @@ if pictureflow is not None:
|
||||
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…
x
Reference in New Issue
Block a user