X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2Fdemo%2FPrintDicomDir.py.in;h=dcd47fef32a27530b8e3407318497e67d5c46637;hb=5f2f63726d61c93ece8e85fe9fc7c5fa8093bf61;hp=c988a4e6b0f89c072d849de71b50cb41d1d3e48d;hpb=bd1e1aea88a95e4d14cd59088a7e5280703402ea;p=gdcm.git diff --git a/gdcmPython/demo/PrintDicomDir.py.in b/gdcmPython/demo/PrintDicomDir.py.in index c988a4e6..dcd47fef 100644 --- a/gdcmPython/demo/PrintDicomDir.py.in +++ b/gdcmPython/demo/PrintDicomDir.py.in @@ -34,7 +34,7 @@ except IndexError: printLevel = 1 ### Build the DicomDir element list -dicomdir = gdcm.DicomDir() +dicomdir = gdcm.DicomDir.New() dicomdir.SetStartMethod(startMethod) dicomdir.SetProgressMethod(progressMethod)