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 b62bb91 commit bfa2550Copy full SHA for bfa2550
lib/routing.py
@@ -131,7 +131,7 @@ def select_random_topic(self,topic):
131
topic_list = [x[len(topic):]
132
for x in self.get_topics_list()
133
if x.startswith(topic + "/")]
134
- if ":list" in topic_list: topic_list.remove(":list")
+ if "/:list" in topic_list: topic_list.remove("/:list")
135
random_topic = topic + random.choice(topic_list)
136
return random_topic
137
0 commit comments