1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Fixed typo

This commit is contained in:
fedeb
2020-11-07 20:25:23 +01:00
parent e3ab4eafcb
commit cb75302567
+2 -2
View File
@@ -112,9 +112,9 @@ class Router(object):
def handle_if_random_request(self,topic):
"""
Return topic type for `topic` or "unknown" if topic can't be determined.
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.
"""
def __select_random_topic(prefix,topic_list):
#Here we remove the special cases
if ":list" in topic_list: topic_list.remove(":list")