Make gen_stats output path absolute

This commit is contained in:
Robert Miles 2018-06-20 14:59:46 -04:00
parent e02518f419
commit 58303d3641
1 changed files with 1 additions and 1 deletions

View File

@ -23,5 +23,5 @@ for schannel in schannels:
channels.append(channel)
out["channels"]=channels
#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)