From 9c4cf062399710897787219b900756df73243035 Mon Sep 17 00:00:00 2001 From: zasexton Date: Thu, 1 Sep 2022 12:31:12 -0700 Subject: [PATCH] removed "is" from element checking condition --- PythonAPI/Importing/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PythonAPI/Importing/install.py b/PythonAPI/Importing/install.py index e7a8dff..95df6e9 100644 --- a/PythonAPI/Importing/install.py +++ b/PythonAPI/Importing/install.py @@ -47,7 +47,7 @@ def install(package_name,version=None,inequality=None): return False # Checking logical package constraints (if applicable) if inequality is not None: - if inequality is not in ['==','<','>','<=','>=']: + if inequality not in ['==','<','>','<=','>=']: print('inequality must be one of the following: == < > <= >=') return False if version is None: