Skip to content

Commit cb75302

Browse files
committed
Fixed typo
1 parent e3ab4ea commit cb75302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/routing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ def _get_page_dict(self, query, topic_type, request_options=None):
112112

113113
def handle_if_random_request(self,topic):
114114
"""
115-
Return topic type for `topic` or "unknown" if topic can't be determined.
115+
Check if the `query` if a :random one, if yes we check its correctness and then randomly select a topic, based on the provided prefix.
116+
116117
"""
117-
118118
def __select_random_topic(prefix,topic_list):
119119
#Here we remove the special cases
120120
if ":list" in topic_list: topic_list.remove(":list")

0 commit comments

Comments
 (0)