diff --git a/edmond/plugins/shrlok.py b/edmond/plugins/shrlok.py index 49335f2..d8ee05c 100644 --- a/edmond/plugins/shrlok.py +++ b/edmond/plugins/shrlok.py @@ -39,5 +39,5 @@ class ShrlokPlugin(Plugin): except OSError as exc: self.bot.log_e(f"Can't post text file: {exc}") 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