From 3605a215f3310e1215b6b9874e7ed4cdca5531f9 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 27 Feb 2021 11:50:05 +0100 Subject: [PATCH] Don't pass logger anymore --- LogBot/logbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!