Skip to content

Commit dd4b1aa

Browse files
author
jjjkkkjjj
committed
removed not route.callback (#2110)
1 parent 758a205 commit dd4b1aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channels/routing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _parse_resolver(child_url_pattern, parent_resolver, parent_regex, routes):
7373
list[URLPattern]
7474
The URLPattern's list that stores the routes
7575
"""
76-
if not child_url_pattern.callback and isinstance(child_url_pattern, URLResolver):
76+
if isinstance(child_url_pattern, URLResolver):
7777
# parse the urls resolved by django's `include` function
7878
for url_pattern in child_url_pattern.url_patterns:
7979
# call _parse_resolver recurrsively to parse nested URLResolver

0 commit comments

Comments
 (0)