Commit f0459d57 authored by OzzieIsaacs's avatar OzzieIsaacs

Bugfix #409

parent 0e83546d
......@@ -1318,7 +1318,7 @@ def toggle_read(book_id):
read_status[0].value = not read_status[0].value
db.session.commit()
else:
cc_class = db.cc_classes[cc_id]
cc_class = db.cc_classes[config.config_read_column]
new_cc = cc_class(value=1, book=book_id)
db.session.add(new_cc)
db.session.commit()
......
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