Jan Dittberner
26aae0173d
This change moves the fileservertasks module to the top level to allow keeping the same task names when running in a Python 3 environment.
16 lines
340 B
Python
16 lines
340 B
Python
"""
|
|
This module defines the Celery_ app for gvafile.
|
|
|
|
.. _Celery: http://www.celeryproject.org/
|
|
|
|
"""
|
|
from __future__ import absolute_import
|
|
|
|
from celery import Celery
|
|
|
|
#: The Celery application
|
|
app = Celery('fileservertasks')
|
|
|
|
app.config_from_object('fileservertasks.settings')
|
|
app.autodiscover_tasks(['fileservertasks.tasks'], force=True)
|