From cb753025678864292da99385bd0d0075dbe01f8a Mon Sep 17 00:00:00 2001 From: fedeb Date: Sat, 7 Nov 2020 20:25:23 +0100 Subject: [PATCH] Fixed typo --- lib/routing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routing.py b/lib/routing.py index 925f123..0c220b2 100644 --- a/lib/routing.py +++ b/lib/routing.py @@ -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")