mirror of
https://github.com/django/daphne.git
synced 2025-07-10 16:02:18 +03:00
Flake8 fix
This commit is contained in:
parent
0ed04a9c06
commit
f9ef08b0aa
|
@ -78,6 +78,7 @@ def enforce_ordering(func=None, slight=False):
|
||||||
# Slight is deprecated
|
# Slight is deprecated
|
||||||
if slight:
|
if slight:
|
||||||
raise ValueError("Slight ordering is now always on due to Channels changes. Please remove the decorator.")
|
raise ValueError("Slight ordering is now always on due to Channels changes. Please remove the decorator.")
|
||||||
|
|
||||||
# Main decorator
|
# Main decorator
|
||||||
def decorator(func):
|
def decorator(func):
|
||||||
@channel_session
|
@channel_session
|
||||||
|
|
Loading…
Reference in New Issue
Block a user