From ae24757290192c8cc3601f3aa1617124bd204292 Mon Sep 17 00:00:00 2001 From: manetta Date: Fri, 18 Feb 2022 14:59:36 +0100 Subject: [PATCH] RSS media url needs to be full url --- LogBot/logbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 4ac6565..7355dc1 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -137,7 +137,7 @@ class Logbot(Bot): self.db[message.room]["messages"][new_key]['media'] = {} self.db[message.room]["messages"][new_key]['media']['post'] = media_post self.db[message.room]["messages"][new_key]['media']['type'] = media_type - self.db[message.room]["messages"][new_key]['media']['url'] = media_url + self.db[message.room]["messages"][new_key]['media']['url'] = os.path.join("https://vvvvvvaria.org/logs/", media_url) self.db[message.room]["messages"][new_key]['media']['size'] = media_size self.db[message.room]["messages"][new_key]['date'] = date else: