mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-30 19:23:01 +02:00
...
This commit is contained in:
parent
b1fb8596b2
commit
76956cdeab
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ def add_book(self, mi, cover_path, paths):
|
|||
# detection/automerge will fail for this book.
|
||||
traceback.print_exc()
|
||||
if DEBUG:
|
||||
prints('Added', mi.title, 'to db in: %.1f' % time.time() - st)
|
||||
prints('Added', mi.title, 'to db in: %.1f' % (time.time() - st))
|
||||
|
||||
def add_formats(self, book_id, paths, mi, replace=True):
|
||||
fmap = {p.rpartition(os.path.extsep)[-1].lower():p for p in paths}
|
||||
|
|
|
|||
Loading…
Reference in a new issue