2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-05 21:20:51 +00:00
This commit is contained in:
quadrismegistus 2020-09-14 04:55:22 +01:00
parent 871d41c5fb
commit bab2ec63c5

View File

@ -121,6 +121,7 @@ class Operator(Keymaker):
if not self.privkey or not self.pubkey:
raise KomradeException('why do I have no pub/privkey pair!?',self,self.name,self.pubkey,self.privkey,self.keychain())
if not another.name or not another.pubkey:
self.log(f'I {self} failed to compose a message to {another} ?')
raise KomradeException('why do I not know whom I\'m writing to?')
# otherwise create msg