mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
96fdd1799f
commit
430f67c3f5
@ -253,8 +253,11 @@ class PRST1(USBMS):
|
||||
|
||||
# Get Metadata We Want
|
||||
lpath = book.lpath
|
||||
author = newmi.authors[0]
|
||||
title = newmi.title
|
||||
try:
|
||||
author = newmi.authors[0]
|
||||
except:
|
||||
author = _('Unknown')
|
||||
title = newmi.title or _('Unknown')
|
||||
|
||||
if lpath not in db_books:
|
||||
query = '''
|
||||
|
Loading…
x
Reference in New Issue
Block a user