mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
dacab2b638
commit
dd365dbc60
5
pgp.py
5
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:
|
||||
|
|
Loading…
Reference in New Issue