Skip to content

Commit

Permalink
Fix invalid py2 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgodwin committed Jul 13, 2015
1 parent 8492dcd commit 3a48478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channels/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
"""
Expand Down

0 comments on commit 3a48478

Please sign in to comment.