Skip to content

Commit

Permalink
fixed Python client version check for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Nov 3, 2023
1 parent 8d46182 commit 98c7922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/python/sliderule/sliderule.py
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ def check_version (plugins=[]):
else:
for pkg in plugins:
if versions[pkg][0] != versions['client'][0]:
raise RuntimeError("Client (version {}) is incompatible with the {} plugin (version {})".format(versions['client'], pkg, versions['icesat2']))
raise RuntimeError("Client (version {}) is incompatible with the {} plugin (version {})".format(versions['client'], pkg, versions[pkg]))
# check minor version mismatches
if versions['server'][1] > versions['client'][1]:
logger.warning("Client (version {}) is out of date with the server (version {})".format(versions['client'], versions['server']))
Expand Down

0 comments on commit 98c7922

Please sign in to comment.