mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Fix stupid
This commit is contained in:
parent
9d6850ae07
commit
250db32c13
|
@ -82,7 +82,6 @@ class AioIRCCat(irc.client_aio.AioSimpleIRCClient):
|
||||||
return
|
return
|
||||||
url = urlparse(post.get('url'))
|
url = urlparse(post.get('url'))
|
||||||
full_url ="https://"+ url.netloc + recognize_langs(url.path)
|
full_url ="https://"+ url.netloc + recognize_langs(url.path)
|
||||||
logger.debug(f"Checking {full_url}")
|
|
||||||
wiki = self.domain.get_wiki(full_url)
|
wiki = self.domain.get_wiki(full_url)
|
||||||
if wiki and wiki.discussion_id != -1:
|
if wiki and wiki.discussion_id != -1:
|
||||||
self.updated_discussions.add(full_url)
|
self.updated_discussions.add(full_url)
|
||||||
|
|
Loading…
Reference in a new issue