Don't pass logger anymore

This commit is contained in:
Luke Murphy 2021-02-27 11:50:05 +01:00
parent a407e3d483
commit 3605a215f3
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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!