changing the path of the links to relative links

This commit is contained in:
manetta 2019-07-17 18:52:55 +02:00
parent 06046e121b
commit fe8fddd6fb

View File

@ -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+')