mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
I don't even
This commit is contained in:
parent
c6daa4884a
commit
7a2a8b0323
|
@ -84,6 +84,8 @@ class AioIRCCat(irc.client_aio.AioSimpleIRCClient):
|
|||
url = urlparse(post.get('url'))
|
||||
except KeyError:
|
||||
return
|
||||
if isinstance(url.path, bytes):
|
||||
return
|
||||
lang = recognize_langs(url.path)
|
||||
full_url = "https://" + url.netloc + lang
|
||||
wiki = self.domain.get_wiki(full_url)
|
||||
|
|
Loading…
Reference in a new issue