This commit is contained in:
Kovid Goyal 2014-11-12 13:09:10 +05:30
parent db7c7931a3
commit 228c5d7af0

View File

@ -177,8 +177,9 @@ class Adder(QObject):
'No ebook files were found in %s') % self.source, show=True) 'No ebook files were found in %s') % self.source, show=True)
self.break_cycles() self.break_cycles()
return return
self.pd.msg = _('Reading metadata and adding to library...')
self.pd.max = len(self.file_groups) self.pd.max = len(self.file_groups)
self.pd.title = _('Reading metadata and adding to library (%d books)...') % self.pd.max
self.pd.msg = ''
self.pd.value = 0 self.pd.value = 0
self.pool = Pool(name='AddBooks') if self.pool is None else self.pool self.pool = Pool(name='AddBooks') if self.pool is None else self.pool
if self.db is not None: if self.db is not None: