From dd365dbc6045fa3c674bee1aa5a13afcd2215159 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 17 Mar 2021 21:26:58 +0000 Subject: [PATCH] Debug --- pgp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pgp.py b/pgp.py index 50ad0cc5c..247bfe047 100644 --- a/pgp.py +++ b/pgp.py @@ -582,13 +582,12 @@ def pgpPublicKeyUpload(baseDir: str, session, quiet = not debug tries = 0 while tries < 4: + print('tries = ' + str(tries)) postResult = \ postJson(session, actorUpdate, [], inboxUrl, - headers, 30, quiet) + headers, 5, quiet) if postResult: break - print('tries = ' + str(tries)) - time.sleep(2) tries += 1 if postResult is None: