From 3a4847887e7b49cefb61f153bb7ffdd2ac888141 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 12 Jul 2015 23:37:43 -0500 Subject: [PATCH] Fix invalid py2 syntax --- channels/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/decorators.py b/channels/decorators.py index 63ba59d..5a94850 100644 --- a/channels/decorators.py +++ b/channels/decorators.py @@ -5,7 +5,7 @@ from django.utils import six 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. """