forked from indymedia/epicyon
Type check
parent
c7d41c24a7
commit
656589a620
2
utils.py
2
utils.py
|
@ -61,6 +61,8 @@ def getStatusNumber() -> (str,str):
|
||||||
return statusNumber,published
|
return statusNumber,published
|
||||||
|
|
||||||
def isEvil(domain: str) -> bool:
|
def isEvil(domain: str) -> bool:
|
||||||
|
if not isinstance(domain, str):
|
||||||
|
return True
|
||||||
# https://www.youtube.com/watch?v=5qw1hcevmdU
|
# https://www.youtube.com/watch?v=5qw1hcevmdU
|
||||||
evilDomains=('gab.com','gabfed.com','spinster.xyz','kiwifarms.cc','djitter.com')
|
evilDomains=('gab.com','gabfed.com','spinster.xyz','kiwifarms.cc','djitter.com')
|
||||||
for concentratedEvil in evilDomains:
|
for concentratedEvil in evilDomains:
|
||||||
|
|
Loading…
Reference in New Issue