forked from tildeverse/tilde.chat
fix stat path
This commit is contained in:
parent
b6cfca84b1
commit
5123443083
|
@ -24,5 +24,5 @@ for schannel in schannels:
|
||||||
channels.sort(key=lambda x: x["name"].lower())
|
channels.sort(key=lambda x: x["name"].lower())
|
||||||
out["channels"]=channels
|
out["channels"]=channels
|
||||||
#print([x.text for x in d.findall("./channellist/channel/channeltopic/topictext")])
|
#print([x.text for x in d.findall("./channellist/channel/channeltopic/topictext")])
|
||||||
with open("/var/www/html/tilde.chat/stats.json","w") as f:
|
with open("/var/www/tilde.chat/stats.json","w") as f:
|
||||||
json.dump(out,f)
|
json.dump(out,f)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user