Don't pass logger anymore
This commit is contained in:
parent
a407e3d483
commit
3605a215f3
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user