mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-20 09:37:48 +02:00
Merge pull request #981 from GibbsConsulting/master
Update task registration in line with Celery changes
This commit is contained in:
commit
73787bd245
@ -1,8 +1,8 @@
|
|||||||
from celery.decorators import task
|
from celery import shared_task
|
||||||
|
|
||||||
from .email import process_email
|
from .email import process_email
|
||||||
|
|
||||||
|
|
||||||
@task()
|
@shared_task
|
||||||
def helpdesk_process_email():
|
def helpdesk_process_email():
|
||||||
process_email()
|
process_email()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user