From 2074fe5235c52120311c1381b13ad0dcbefd879f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 20 Sep 2021 17:14:24 +0100 Subject: [PATCH] Debug --- follow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/follow.py b/follow.py index ecf7e0e9e..778108c3d 100644 --- a/follow.py +++ b/follow.py @@ -980,6 +980,9 @@ def sendFollowRequest(session, baseDir: str, projectVersion: str, signingPrivateKeyPem: str) -> {}: """Gets the json object for sending a follow request """ + if not signingPrivateKeyPem: + print('WARN: follow request without signing key') + if not domainPermitted(followDomain, federationList): print('You are not permitted to follow the domain ' + followDomain) return None