+ Reformatted API, more efficient, standard, and secure now
* Various bug fixes
This commit is contained in:
parent
53f98c3449
commit
1dd471b91e
11 changed files with 174 additions and 102 deletions
|
@ -154,7 +154,7 @@ class Core:
|
|||
|
||||
if address == config.get('i2p.ownAddr', None) or address == self.hsAddress:
|
||||
return False
|
||||
if type(address) is type(None) or len(address) == 0:
|
||||
if type(address) is None or len(address) == 0:
|
||||
return False
|
||||
if self._utils.validateID(address):
|
||||
conn = sqlite3.connect(self.addressDB, timeout=10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue