Resolve warnings from modern flake8

This commit is contained in:
Raphael Michel
2016-03-03 18:35:37 +01:00
parent c2d7baae2b
commit 1cd64f40eb
6 changed files with 16 additions and 7 deletions

View File

@@ -22,4 +22,6 @@ if settings.HAS_CELERY:
from pretix.celery import app
export_task = app.task(export)
export = lambda *args, **kwargs: export_task.apply_async(args=args, kwargs=kwargs)
def export(*args, **kwargs):
export_task.apply_async(args=args, kwargs=kwargs)