Produce a proper status

This commit is contained in:
Thomas Versteeg 2022-02-28 20:56:59 +01:00
parent 539775f370
commit 1e3f9246d6

View file

@ -137,6 +137,7 @@ def handle_reading_status(user, shelf, book, privacy):
"to-read": "wants to read",
"reading": "started reading",
"read": "finished reading",
"stopped-reading": "stopped reading",
}[shelf.identifier]
except KeyError:
# it's a non-standard shelf, don't worry about it