This commit is contained in:
Kovid Goyal 2013-04-13 11:22:23 +05:30
parent 4db56199ee
commit 63db4993e3

View File

@ -476,8 +476,7 @@ class PolishAction(InterfaceAction):
db.save_original_format(book_id, fmt, notify=False) db.save_original_format(book_id, fmt, notify=False)
with open(path, 'rb') as f: with open(path, 'rb') as f:
db.add_format(book_id, fmt, f, index_is_id=True) db.add_format(book_id, fmt, f, index_is_id=True)
self.gui.status_bar.show_message(job.description + \ self.gui.status_bar.show_message(job.description + (' completed'), 2000)
(' completed'), 2000)
try: try:
shutil.rmtree(base) shutil.rmtree(base)
parent = os.path.dirname(base) parent = os.path.dirname(base)