Browse Source

RSS media url needs to be full url

master
manetta 3 years ago
parent
commit
ae24757290
  1. 2
      LogBot/logbot.py

2
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:

Loading…
Cancel
Save