Fix #701
This commit is contained in:
parent
c574b779fb
commit
2422f782de
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ def modify_database_object(input_elements, db_book_object, db_object, db_session
|
|||
if db_type == 'custom' and db_element.value != add_element:
|
||||
new_element.value = add_element
|
||||
# new_element = db_element
|
||||
elif db_type == 'language' and db_element.lang_code != add_element:
|
||||
elif db_type == 'languages' and db_element.lang_code != add_element:
|
||||
db_element.lang_code = add_element
|
||||
# new_element = db_element
|
||||
elif db_type == 'series' and db_element.name != add_element:
|
||||
|
|
Loading…
Reference in a new issue