[books] Fix comic scrobbles overrwriting one another

This commit is contained in:
2025-10-20 17:15:54 -04:00
parent e755dc6641
commit 9277db97e5
2 changed files with 4 additions and 4 deletions

View File

@ -625,7 +625,7 @@ def scrobble_start(request, uuid):
if (
user.profile.redirect_to_webpage
and media_obj.__class__.__name__ == Scrobble.MediaType.WEBPAGE
and (media_obj.__class__.__name__ == Scrobble.MediaType.WEBPAGE or media_obj.__class__.__name__ == Scrobble.MediaType.BOOK)
):
logger.info(f"Redirecting to {media_obj} detail page")
return HttpResponseRedirect(media_obj.url)