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