From 435cf05a90d082f8a74259811313e1d875d62ae3 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 17 Nov 2020 19:58:11 -0500 Subject: [PATCH] print channel name unquoted --- gen_stats | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gen_stats b/gen_stats index 23885cc..247c53d 100755 --- a/gen_stats +++ b/gen_stats @@ -2,7 +2,6 @@ import base64 import json from lxml import etree -from urllib.parse import quote WORK_DIR = "/var/www/tilde.chat" out = {} @@ -52,7 +51,7 @@ for c in root.findall("./channellist/channel"): name=name, topic=unsanitize(c.find("./channeltopic/topictext"), "no topic set"), usercount=int(c.find("usercount").text), - webchatlink="https://kiwi.tilde.chat/" + quote(name), + webchatlink="https://kiwi.tilde.chat/" + name, ) )