changeset 703:8b255268d79b

support mainline-xxx versions
author Alain Mazy <am@orthanc.team>
date Fri, 04 Oct 2024 08:50:29 +0200
parents 8561d9c88d1a
children cbd103d8c1f3 beb7bd0fdf47 5bb854db51cf
files Tests/Toolbox.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Toolbox.py	Thu Sep 26 12:27:52 2024 +0200
+++ b/Tests/Toolbox.py	Fri Oct 04 08:50:29 2024 +0200
@@ -344,7 +344,7 @@
 def IsOrthancVersionAbove(orthanc, major, minor, revision):
     v = DoGet(orthanc, '/system')['Version']
 
-    if v == 'mainline':
+    if v.startswith('mainline'):
         return True
     else:
         tmp = v.split('.')