Unverified Commit 28bfb06c authored by Ryan Holmes's avatar Ryan Holmes Committed by GitHub

Revert the deletion of another line

This was done by mistake, whoops!
parent 704dcb3e
......@@ -223,6 +223,7 @@ def delete_book(book_id, book_format):
getattr(book, cc_string).remove(del_cc)
log.debug('remove ' + str(c.id))
calibre_db.session.delete(del_cc)
calibre_db.session.commit()
else:
modify_database_object([u''], getattr(book, cc_string), db.cc_classes[c.id],
calibre_db.session, 'custom')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment