progress in removing core

This commit is contained in:
Kevin Froman 2019-07-24 11:32:23 -05:00
parent a74f2c5051
commit 274505a51f
10 changed files with 28 additions and 30 deletions

View file

@ -65,7 +65,7 @@ def add_address(address):
if type(address) is None or len(address) == 0:
return False
if stringvalidators.validate_transport(address):
if address == gettransports.get()[0]:
if address in gettransports.get():
return False
conn = sqlite3.connect(dbfiles.address_info_db, timeout=30)
c = conn.cursor()