mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix error when running calibredb backup_metadata on a library that contains book records with no path information
This commit is contained in:
parent
1b020158c5
commit
94294b62e2
@ -1172,7 +1172,7 @@ class BackupProgress(object):
|
||||
else:
|
||||
self.count += 1
|
||||
prints(u'%.1f%% %s - %s'%((self.count*100)/float(self.total),
|
||||
book_id, mi.title))
|
||||
book_id, getattr(mi, 'title', 'Unknown')))
|
||||
|
||||
def command_backup_metadata(args, dbpath):
|
||||
parser = backup_metadata_option_parser()
|
||||
|
Loading…
x
Reference in New Issue
Block a user