Browse Source

Don't pass logger anymore

master
Luke Murphy 4 years ago
parent
commit
3605a215f3
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 2
      LogBot/logbot.py

2
LogBot/logbot.py

@ -169,7 +169,7 @@ class Logbot(Bot):
# image / PDF / audio / video # image / PDF / audio / video
if message.url: if message.url:
media_post, media_type = self._download(message, self.log) media_post, media_type = self._download(message)
if media_post: if media_post:
self._add_to_db(message, media_post=media_post) self._add_to_db(message, media_post=media_post)
media_type = media_type.replace("images", "image") # linguistic hack! media_type = media_type.replace("images", "image") # linguistic hack!

Loading…
Cancel
Save