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