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