We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e4e46 commit 45c803aCopy full SHA for 45c803a
lib/routing.py
@@ -117,10 +117,7 @@ def handle_if_random_request(self, topic):
117
118
def __select_random_topic(prefix, topic_list):
119
#Here we remove the special cases
120
- if "rosetta/" in topic_list:
121
- topic_list.remove("rosetta/")
122
-
123
- cleaned_topic_list = [ x for x in topic_list if ':' not in x]
+ cleaned_topic_list = [ x for x in topic_list if '/' not in x and ':' not in x]
124
125
#Here we still check that cleaned_topic_list in not empty
126
if not cleaned_topic_list:
0 commit comments