debug
This commit is contained in:
parent
a75e02a47b
commit
6a60f925a4
@ -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…
Reference in New Issue
Block a user