fix arg check

This commit is contained in:
liamcottle
2024-04-30 21:48:15 +12:00
parent c96f816976
commit 99512be59a

2
web.py
View File

@@ -443,7 +443,7 @@ async def main():
return
# util to generate reticulum identity as base64 without using rnid
if args.generate_identity_base64 is not None:
if args.generate_identity_base64 is True:
identity = RNS.Identity(create_keys=True)
print(base64.b64encode(identity.get_private_key()).decode("utf-8"))
return