Another block

main2
Bob Mottram 2019-10-17 17:00:34 +01:00
parent da58015e20
commit 385a0ee31d
2 changed files with 2 additions and 3 deletions

View File

@ -1351,8 +1351,7 @@ def sendSignedJson(postJsonObject: {},session,baseDir: str, \
if wfRequest.get('errors'):
if debug:
print('DEBUG: webfinger for '+handle+' failed with errors '+str(wfRequest['errors']))
return 1
print('DEBUG: webfinger for '+handle+' failed with errors '+str(wfRequest['errors']))
if not clientToServer:
postToBox='inbox'

View File

@ -29,7 +29,7 @@ def getStatusNumber() -> (str,str):
def isEvil(domain: str) -> bool:
# https://www.youtube.com/watch?v=5qw1hcevmdU
evilDomains=['gab.com','gabfed.com','spinster.xyz','djitter.com']
evilDomains=['gab.com','gabfed.com','spinster.xyz','kiwifarms.cc','djitter.com']
for concentratedEvil in evilDomains:
if domain.endswith(concentratedEvil):
return True