From 7f7c56245541a1b65787811073cd386f7faeacd3 Mon Sep 17 00:00:00 2001 From: rune Date: Sun, 16 Apr 2023 19:07:01 +0200 Subject: [PATCH] Refined search function --- .gitignore | 3 ++- malias.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3b6f62f..c7baf76 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -list_alias.py \ No newline at end of file +list_alias.py +malias.zip \ No newline at end of file diff --git a/malias.py b/malias.py index 805aac8..b2e375d 100644 --- a/malias.py +++ b/malias.py @@ -222,7 +222,7 @@ def checklist(alias): remoteData = json.loads(remote) i = 0 for search in remoteData: - if alias in remoteData[i]['address']: + if alias == remoteData[i]['address']: return True i=i+1 return None