Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed May 30, 2024
1 parent 5dd0696 commit 6285742
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hivemind_bus_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,4 +479,4 @@ def decrypt(self, message: MycroftMessage):
private_key = pgpy.PGPKey.from_blob(f.read())

decrypted: str = private_key.decrypt(message_from_blob)
return MycroftMessage.deserialize(json.loads(decrypted))
return MycroftMessage.deserialize(json.loads(decrypted))
2 changes: 1 addition & 1 deletion hivemind_bus_client/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def identity_set(key: str, password: str, host: str, port: int, siteid: str):
if not host.startswith("ws://") and not host.startswith("wss://"):
host = "ws://" + host
identity.default_master = host
if not identity.private_key:
if not identity.public_key:
identity.create_keys()
print("PUBKEY:", identity.public_key)
identity.save()
Expand Down

0 comments on commit 6285742

Please sign in to comment.