This commit is contained in:
Kovid Goyal 2010-12-07 22:46:32 -07:00
parent 73c54d9299
commit a22f18256e

View File

@ -38,11 +38,11 @@ class MultiDeleter(QObject):
self.cleanup() self.cleanup()
return return
id_ = self.ids.pop() id_ = self.ids.pop()
title = 'id%d'%id_ title = 'id:%d'%id_
try: try:
title_ = self.model.db.title(id_, index_is_id=True) title_ = self.model.db.title(id_, index_is_id=True)
if title_: if title_:
title = title title = title_
self.model.db.delete_book(id_, notify=False, commit=False) self.model.db.delete_book(id_, notify=False, commit=False)
self.deleted_ids.append(id_) self.deleted_ids.append(id_)
except: except: