Remove deprecated utcnow method
Bugfix mp3 cover metadata extraction
This commit is contained in:
+1
-1
@@ -795,7 +795,7 @@ def HandleStateRequest(book_uuid):
|
||||
if new_book_read_status == ub.ReadBook.STATUS_IN_PROGRESS \
|
||||
and new_book_read_status != book_read.read_status:
|
||||
book_read.times_started_reading += 1
|
||||
book_read.last_time_started_reading = datetime.datetime.now(UTC)
|
||||
book_read.last_time_started_reading = datetime.now(UTC)
|
||||
book_read.read_status = new_book_read_status
|
||||
update_results_response["StatusInfoResult"] = {"Result": "Success"}
|
||||
except (KeyError, TypeError, ValueError, StatementError):
|
||||
|
||||
Reference in New Issue
Block a user