Browse Source

changing the path of the links to relative links

master
manetta 5 years ago
parent
commit
fe8fddd6fb
  1. 2
      logbot.py

2
logbot.py

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

Loading…
Cancel
Save