Mercurial > hg > orthanc-tests
diff Plugins/DicomWeb/Run.py @ 563:be69d6d8260c
fix for python2
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 29 Jun 2023 15:24:54 +0200 |
parents | a6fb40c2b722 |
children | 28fef24147fa |
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py Wed Jun 28 16:44:21 2023 +0200 +++ b/Plugins/DicomWeb/Run.py Thu Jun 29 15:24:54 2023 +0200 @@ -43,7 +43,7 @@ import unittest import xml.dom.minidom from PIL import ImageChops - +from io import BytesIO from DicomWeb import * sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'Tests'))