mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-30 03:50:40 +00:00
no need to assign book var in incoming
This commit is contained in:
parent
0393d81230
commit
b8e9f90138
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue