More verbose

main
Bob Mottram 2020-09-25 12:35:44 +00:00
parent 88ac5bb75c
commit 87be0a1efd
1 changed files with 5 additions and 1 deletions

View File

@ -3373,6 +3373,9 @@ def checkDomains(session, baseDir: str,
proxyType, port, httpPrefix, proxyType, port, httpPrefix,
debug, projectVersion, []) debug, projectVersion, [])
if blockedDomains: if blockedDomains:
print(domainName)
for d in blockedDomains:
print(' ' + d)
if len(blockedDomains) > maxBlockedDomains: if len(blockedDomains) > maxBlockedDomains:
followerWarningStr += domainName + '\n' followerWarningStr += domainName + '\n'
updateFollowerWarnings = True updateFollowerWarnings = True
@ -3380,7 +3383,8 @@ def checkDomains(session, baseDir: str,
if updateFollowerWarnings and followerWarningStr: if updateFollowerWarnings and followerWarningStr:
with open(followerWarningFilename, 'w+') as fp: with open(followerWarningFilename, 'w+') as fp:
fp.write(followerWarningStr) fp.write(followerWarningStr)
print(followerWarningStr) if not singleCheck:
print(followerWarningStr)
def sendCapabilitiesUpdate(session, baseDir: str, httpPrefix: str, def sendCapabilitiesUpdate(session, baseDir: str, httpPrefix: str,