small update

This commit is contained in:
manetta 2021-01-22 00:30:48 +01:00
parent 3a1b5f0619
commit 6d65fae90a
2 changed files with 2 additions and 7 deletions

View File

@ -1,5 +0,0 @@
[logbot]
account = bot@vvvvvvaria.org
password = streaming
nick = logbot
rooms = testtesttest@muc.vvvvvvaria.org, ibugev@muc.vvvvvvaria.org

View File

@ -42,7 +42,7 @@ def deletefromdb(id):
def writelog(messages): def writelog(messages):
template = jinja2.Template(open('index.html.j2').read()) template = jinja2.Template(open('index.html.j2').read())
with open('index.html','w') as out: with open('log.html','w') as out:
html = template.render(messages=messages) html = template.render(messages=messages)
out.write(html) out.write(html)