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:23:41 +01:00
parent a169af2bff
commit 8d695a14cc

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.data)
uri = b64encode(pubkey) if type(pubkey)==bytes else b64encode(pubkey.decode())
# get from cache
for keyname in look_for: