From 98c792264eba79949c8c79d66b7c7642250c51b2 Mon Sep 17 00:00:00 2001 From: JP Swinski Date: Fri, 3 Nov 2023 11:22:16 +0000 Subject: [PATCH] fixed Python client version check for plugins --- clients/python/sliderule/sliderule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/python/sliderule/sliderule.py b/clients/python/sliderule/sliderule.py index 69c51fa75..15c9c8197 100644 --- a/clients/python/sliderule/sliderule.py +++ b/clients/python/sliderule/sliderule.py @@ -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']))