diff --git a/src/calibre/gui2/add.py b/src/calibre/gui2/add.py index 31f5db716a..25201f766d 100644 --- a/src/calibre/gui2/add.py +++ b/src/calibre/gui2/add.py @@ -372,7 +372,7 @@ class Adder(QObject): # 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}