Browse Source

Don't pass logger anymore

master
decentral1se 9 months 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
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…
Cancel
Save