Small code cleanup
This commit is contained in:
parent
470c5d4acb
commit
72b4e7da76
3 changed files with 16 additions and 13 deletions
|
@ -310,7 +310,7 @@ def handle_boost(activity):
|
|||
|
||||
@app.task
|
||||
def handle_tag(activity):
|
||||
''' someone is tagging or shelving a book '''
|
||||
''' someone is tagging a book '''
|
||||
user = get_or_create_remote_user(activity['actor'])
|
||||
if not user.local:
|
||||
book = activity['target']['id']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue