This commit is contained in:
manetta 2019-04-16 23:47:06 +02:00
parent a75e02a47b
commit 6a60f925a4

View File

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