Skip to content

Commit 51f42a7

Browse files
authored
Merge pull request #226 from Helene/version_comparison
Fix Python version comparison issue
2 parents a95968b + 0bc79a0 commit 51f42a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/zimonGrafanaIntf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def main(argv):
208208
print(msg)
209209
return
210210

211-
if sys.version < '3.8':
211+
if (sys.version_info < (3, 8)):
212212
print(f'\nYor system running {sys.version} \n\nThe IBM Storage Scale bridge for Grafana requires Python3.8 or above. \
213213
\nRead the following instructions for possible solution: \
214214
\nhttps://github.com/IBM/ibm-spectrum-scale-bridge-for-grafana/wiki/What-to-do-if-your-system-is-on-a-Python-version-lower-than-3.8')

0 commit comments

Comments
 (0)