Function arguments

main
Bob Mottram 2021-03-17 20:31:55 +00:00
parent 364a27014d
commit d5f82c568d
2 changed files with 3 additions and 3 deletions

View File

@ -1413,7 +1413,7 @@ if args.migrations:
sys.exit()
if args.actor:
getActorJson(args.actor, args.http, args.gnunet, False)
getActorJson(args.actor, args.http, args.gnunet, debug)
sys.exit()
if args.followers:

4
pgp.py
View File

@ -337,7 +337,7 @@ def _getPGPPublicKeyFromActor(handle: str, actorJson=None) -> str:
public key specified
"""
if not actorJson:
actorJson = getActorJson(handle, False, False, True)
actorJson = getActorJson(handle, False, False, False, True)
if not actorJson:
return None
if not actorJson.get('attachment'):
@ -475,7 +475,7 @@ def pgpPublicKeyUpload(baseDir: str, session,
if debug:
print('Getting actor for ' + handle)
actorJson = getActorJson(handle, False, False, True)
actorJson = getActorJson(handle, False, False, debug, True)
if not actorJson:
if debug:
print('No actor returned for ' + handle)