Refined search function

This commit is contained in:
rune 2023-04-16 19:07:01 +02:00
parent 700eb88061
commit 7f7c562455
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
list_alias.py list_alias.py
malias.zip

View File

@ -222,7 +222,7 @@ def checklist(alias):
remoteData = json.loads(remote) remoteData = json.loads(remote)
i = 0 i = 0
for search in remoteData: for search in remoteData:
if alias in remoteData[i]['address']: if alias == remoteData[i]['address']:
return True return True
i=i+1 i=i+1
return None return None