changeset 673:00e4bb782fa5

fix
author Alain Mazy <am@orthanc.team>
date Mon, 26 Aug 2024 15:03:55 +0200
parents c26163577c91
children 676dd1f784b9
files Plugins/DicomWeb/Run.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py	Mon Aug 26 12:36:10 2024 +0200
+++ b/Plugins/DicomWeb/Run.py	Mon Aug 26 15:03:55 2024 +0200
@@ -315,7 +315,8 @@
 
         self.assertEqual(l, len(r))
         self.assertEqual("0a9b3153-2512774b-2d9580de-1fc3dcf6-3bd83918", r['Resources']['Studies'][0])
-        self.assertEqual("sample", r['Server'])
+        if IsPluginVersionAbove(ORTHANC, "dicom-web", 1, 18, 0):
+            self.assertEqual("sample", r['Server'])
 
         # series
         r = DoPost(ORTHANC, '/dicom-web/servers/sample/stow',