shrlok: fix bad kwarg
This commit is contained in:
parent
274dd61b1a
commit
b333b5d944
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue