Browse Source

small update

master
manetta 4 years ago
parent
commit
6d65fae90a
  1. 5
      LogBot/logbot.conf
  2. 2
      LogBot/logbot.py

5
LogBot/logbot.conf

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

2
LogBot/logbot.py

@ -42,7 +42,7 @@ def deletefromdb(id):
def writelog(messages):
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)
out.write(html)

Loading…
Cancel
Save