Type check

main
Bob Mottram 2020-01-17 23:19:17 +00:00
parent c7d41c24a7
commit 656589a620
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ def getStatusNumber() -> (str,str):
return statusNumber,published
def isEvil(domain: str) -> bool:
if not isinstance(domain, str):
return True
# https://www.youtube.com/watch?v=5qw1hcevmdU
evilDomains=('gab.com','gabfed.com','spinster.xyz','kiwifarms.cc','djitter.com')
for concentratedEvil in evilDomains: