From b8e9f901387437c6ee583120a6294eb36f74f7d3 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 30 Oct 2020 17:41:32 -0700 Subject: [PATCH] no need to assign book var in incoming --- bookwyrm/incoming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/incoming.py b/bookwyrm/incoming.py index 882769bb5..56bea4567 100644 --- a/bookwyrm/incoming.py +++ b/bookwyrm/incoming.py @@ -232,7 +232,7 @@ def handle_create(activity): if hasattr(activity, 'tag'): book_urls += [t.href for t in activity.tag if t.type == 'Book'] for remote_id in book_urls: - book = books_manager.get_or_create_book(remote_id) + books_manager.get_or_create_book(remote_id) model = models.activity_models[activity.type] status = activity.to_model(model)