forked from tildeverse/tilde.chat
Make gen_stats output path absolute
This commit is contained in:
parent
e02518f419
commit
58303d3641
|
@ -23,5 +23,5 @@ for schannel in schannels:
|
||||||
channels.append(channel)
|
channels.append(channel)
|
||||||
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("stats.json","w") as f:
|
with open("/var/www/html/tilde.chat/stats.json","w") as f:
|
||||||
json.dump(out,f)
|
json.dump(out,f)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user