|
@ -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() |
|
|