Runs black
This commit is contained in:
parent
a07f955781
commit
70296e760b
198 changed files with 10239 additions and 8572 deletions
|
@ -1,12 +1,12 @@
|
|||
''' background tasks '''
|
||||
""" background tasks """
|
||||
import os
|
||||
from celery import Celery
|
||||
|
||||
from bookwyrm import settings
|
||||
|
||||
# set the default Django settings module for the 'celery' program.
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'celerywyrm.settings')
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "celerywyrm.settings")
|
||||
app = Celery(
|
||||
'tasks',
|
||||
"tasks",
|
||||
broker=settings.CELERY_BROKER,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue