diff --git a/printer.py b/printer.py index 492b867..e2a16b8 100644 --- a/printer.py +++ b/printer.py @@ -30,7 +30,7 @@ path=gsDir+os.sep+f if os.path.isdir(path) and f.startswith('gs'): try: - val=float(f[2:]) + val=float(f[2:7]) # Example: if `f` equals to `gs10.03.0` then `f[2:7]` would give `10.03` which is what we expect. except ValueError: val=0.0 if bestVersion