shrlok: fix bad kwarg

This commit is contained in:
dece 2022-07-06 17:18:01 +02:00
parent 274dd61b1a
commit b333b5d944

View file

@ -39,5 +39,5 @@ class ShrlokPlugin(Plugin):
except OSError as exc: except OSError as exc:
self.bot.log_e(f"Can't post text file: {exc}") self.bot.log_e(f"Can't post text file: {exc}")
return None return None
url = response.decode().replace(self.file_root, self.url_root, count=1) url = response.decode().replace(self.file_root, self.url_root, 1)
return url return url