From b841baf714bd2e2d9913610a7ddb165ab23fc9d8 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Sun, 23 Sep 2018 18:56:19 +0200 Subject: [PATCH] Comment for adding publishers --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index ca95d02e..9bd145f3 100644 --- a/cps/web.py +++ b/cps/web.py @@ -590,7 +590,7 @@ def modify_database_object(input_elements, db_book_object, db_object, db_session new_element = db_object(add_element, add_element) elif db_type == 'custom': new_element = db_object(value=add_element) - else: # db_type should be tag, or languages + else: # db_type should be tag, languages, publisher new_element = db_object(add_element) db_session.add(new_element) # add element to book