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() sys.exit()
if args.actor: if args.actor:
getActorJson(args.actor, args.http, args.gnunet, False) getActorJson(args.actor, args.http, args.gnunet, debug)
sys.exit() sys.exit()
if args.followers: if args.followers:

4
pgp.py
View File

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