diff --git a/onionr/core.py b/onionr/core.py index 91a74014..2920bdee 100644 --- a/onionr/core.py +++ b/onionr/core.py @@ -457,7 +457,10 @@ class Core: except TypeError: pass if getPow: - peerList.append(self._crypto.pubKey + '-' + self._crypto.pubKeyPowToken) + try: + peerList.append(self._crypto.pubKey + '-' + self._crypto.pubKeyPowToken) + except TypeError: + pass else: peerList.append(self._crypto.pubKey) conn.close()