mirror of
https://github.com/django/daphne.git
synced 2025-07-10 08:02:16 +03:00
Fix invalid py2 syntax
This commit is contained in:
parent
8492dcde48
commit
3a4847887e
|
@ -5,7 +5,7 @@ from django.utils import six
|
||||||
from channels import channel_backends, DEFAULT_CHANNEL_BACKEND
|
from channels import channel_backends, DEFAULT_CHANNEL_BACKEND
|
||||||
|
|
||||||
|
|
||||||
def consumer(self, *channels, alias=DEFAULT_CHANNEL_BACKEND):
|
def consumer(self, alias=DEFAULT_CHANNEL_BACKEND, *channels):
|
||||||
"""
|
"""
|
||||||
Decorator that registers a function as a consumer.
|
Decorator that registers a function as a consumer.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user