Browse Source

debug

pull/5/head
manetta 6 years ago
parent
commit
6a60f925a4
  1. 2
      logbot.py

2
logbot.py

@ -85,7 +85,7 @@ class MUCBot(slixmpp.ClientXMPP):
# Add image to log # Add image to log
img = '<img class="image" src="{}">'.format(msg['oob']['url']) img = '<img class="image" src="{}">'.format(msg['oob']['url'])
log = 'log.html' log = 'log.html'
log_path = os.path.join(output, log) log_path = os.path.join(self.output, log)
f = open(log_path, 'a+') f = open(log_path, 'a+')
f.write(img+'\n') f.write(img+'\n')
f.close() f.close()

Loading…
Cancel
Save