changeset 711:0322fda1834e

fix
author Alain Mazy <am@orthanc.team>
date Fri, 04 Oct 2024 18:45:13 +0200
parents f21aedbf34f7
children afa9cdd13880 694b048afad9
files Tests/Toolbox.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Toolbox.py	Fri Oct 04 14:59:56 2024 +0200
+++ b/Tests/Toolbox.py	Fri Oct 04 18:45:13 2024 +0200
@@ -397,7 +397,7 @@
 def IsPluginVersionAbove(orthanc, plugin, major, minor, revision):
     v = DoGet(orthanc, '/plugins/%s' % plugin)['Version']
 
-    if v == 'mainline':
+    if v.startswith('mainline'):
         return True
     else:
         tmp = v.split('.')