diff --git a/malias.py b/malias.py index 869bc0f..99aede0 100644 --- a/malias.py +++ b/malias.py @@ -331,7 +331,7 @@ def checklist(alias): remoteData = json.loads(remote) i = 0 for search in remoteData: - if alias == remoteData[i]['address'] == alias in remoteData[i]['goto']: + if alias == remoteData[i]['address'] || alias in remoteData[i]['goto']: alias_exist = True i=i+1 cursor = conn.cursor()