Skip to content

Commit bc068ec

Browse files
2 parents 59144b6 + dc5694d commit bc068ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

root/app/calibre-web/cps/editbooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,8 +1255,8 @@ def edit_cc_data_value(book_id, book, c, to_save, cc_db_value, cc_string):
12551255
new_cc = cc_class(value=to_save[cc_string], book=book_id)
12561256
calibre_db.session.add(new_cc)
12571257
changed = True
1258-
if type(to_save[cc_string]) is datetime:
1259-
to_save[cc_string] = to_save[cc_string].strftime("%Y-%m-%d")
1258+
if type(to_save[cc_string]) is datetime:
1259+
to_save[cc_string] = to_save[cc_string].strftime("%Y-%m-%d")
12601260
return changed, to_save
12611261

12621262

0 commit comments

Comments
 (0)