2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-17 21:25:37 +00:00
This commit is contained in:
quadrismegistus 2020-09-12 22:24:36 +01:00
parent 5d2b5bebb0
commit 3940a19ff8

View File

@ -311,7 +311,7 @@ class Keymaker(Logger):
name,pubkey = self.find_pubkey_and_name()
# get uri
uri = b64encode(pubkey) if type(pubkey)==bytes else b64encode(pubkey.decode().data)
uri = b64encode(pubkey) if type(pubkey)==bytes else b64encode(pubkey.encode())
# get from cache
for keyname in look_for: