changing the path of the links to relative links
This commit is contained in:
parent
06046e121b
commit
fe8fddd6fb
@ -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…
Reference in New Issue
Block a user