diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 360d3df..34fd058 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -169,7 +169,7 @@ class Logbot(Bot): # image / PDF / audio / video if message.url: - media_post, media_type = self._download(message, self.log) + media_post, media_type = self._download(message) if media_post: self._add_to_db(message, media_post=media_post) media_type = media_type.replace("images", "image") # linguistic hack!