Skip to content

Commit

Permalink
removed "is" from element checking condition
Browse files Browse the repository at this point in the history
  • Loading branch information
zasexton committed Sep 1, 2022
1 parent 18cc8e8 commit 9c4cf06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PythonAPI/Importing/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9c4cf06

Please sign in to comment.