From fe8fddd6fb9b85c7a5fdd2063583260e2505e95c Mon Sep 17 00:00:00 2001 From: manetta Date: Wed, 17 Jul 2019 18:52:55 +0200 Subject: [PATCH] changing the path of the links to relative links --- logbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logbot.py b/logbot.py index dcdc4dd..00fe9e0 100644 --- a/logbot.py +++ b/logbot.py @@ -83,7 +83,7 @@ class MUCBot(slixmpp.ClientXMPP): f.close() # close the output file # Add image to log - img = ''.format(msg['oob']['url']) + img = ''.format(filename) log = 'log.html' log_path = os.path.join(self.output, log) f = open(log_path, 'a+')