forked from mirrors/bookwyrm
Python formatting
This commit is contained in:
parent
1fbca70820
commit
6841a66e76
1 changed files with 2 additions and 0 deletions
|
@ -301,6 +301,7 @@ def populate_streams_on_account_create(sender, instance, created, *args, **kwarg
|
|||
|
||||
# ---- TASKS
|
||||
|
||||
|
||||
@app.task
|
||||
def populate_streams_task(user_id):
|
||||
"""create a user's streams"""
|
||||
|
@ -308,6 +309,7 @@ def populate_streams_task(user_id):
|
|||
for stream in streams.values():
|
||||
stream.populate_streams(user)
|
||||
|
||||
|
||||
@app.task
|
||||
def remove_status_task(status_ids):
|
||||
"""remove a status from any stream it might be in"""
|
||||
|
|
Loading…
Reference in a new issue