do not error on user save
This commit is contained in:
parent
1be6bf1ec8
commit
9ccf870e4d
@ -48,7 +48,10 @@ class OnionrUser:
|
||||
self.publicKey = publicKey
|
||||
|
||||
if saveUser:
|
||||
try:
|
||||
self._core.addPeer(publicKey)
|
||||
except AssertionError:
|
||||
pass
|
||||
|
||||
self.trust = self._core.getPeerInfo(self.publicKey, 'trust')
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user