mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 02:10:49 +01: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
|
||||
|
||||
|
||||
@task()
|
||||
@shared_task
|
||||
def helpdesk_process_email():
|
||||
process_email()
|
||||
|
Loading…
Reference in New Issue
Block a user