Browse Source

print channel name unquoted

pull/41/head
Ben Harris 5 months ago
parent
commit
435cf05a90
  1. 3
      gen_stats

3
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,
)
)

Loading…
Cancel
Save