merge-requests/30/head
Bob Mottram 2021-03-17 21:26:58 +00:00
parent dacab2b638
commit dd365dbc60
1 changed files with 2 additions and 3 deletions

5
pgp.py
View File

@ -582,13 +582,12 @@ def pgpPublicKeyUpload(baseDir: str, session,
quiet = not debug quiet = not debug
tries = 0 tries = 0
while tries < 4: while tries < 4:
print('tries = ' + str(tries))
postResult = \ postResult = \
postJson(session, actorUpdate, [], inboxUrl, postJson(session, actorUpdate, [], inboxUrl,
headers, 30, quiet) headers, 5, quiet)
if postResult: if postResult:
break break
print('tries = ' + str(tries))
time.sleep(2)
tries += 1 tries += 1
if postResult is None: if postResult is None: