mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
e6bfebed5a
commit
25310eb146
@ -170,7 +170,8 @@ def do_add(db, paths, one_book_per_directory, recurse, add_duplicates):
|
|||||||
for mi, formats in dir_dups:
|
for mi, formats in dir_dups:
|
||||||
db.import_book(mi, formats)
|
db.import_book(mi, formats)
|
||||||
else:
|
else:
|
||||||
print >>sys.stderr, _('The following books were not added as they already exist in the database (see --duplicates option):')
|
if dir_dups or file_duplicates:
|
||||||
|
print >>sys.stderr, _('The following books were not added as they already exist in the database (see --duplicates option):')
|
||||||
for mi, formats in dir_dups:
|
for mi, formats in dir_dups:
|
||||||
title = mi.title
|
title = mi.title
|
||||||
if isinstance(title, unicode):
|
if isinstance(title, unicode):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user