Fix for #2961 (empty comment with newline causes error 500 on upload)

Language of error message for kobo sync improved
This commit is contained in:
Ozzie Isaacs
2024-01-06 16:08:14 +01:00
parent 00acd745f4
commit 977f07364b
3 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ def convert_to_kobo_timestamp_string(timestamp):
# @download_required
def HandleSyncRequest():
if not current_user.role_download():
log.info("User needs download permissions for syncing library with Kobo")
log.info("Users need download permissions for syncing library to Kobo reader")
return abort(403)
sync_token = SyncToken.SyncToken.from_headers(request.headers)
log.info("Kobo library sync request received")