]> Creatis software - gdcm.git/blobdiff - gdcmPython/demo/PrintDicomDir.py.in
* Fix bug in the Python demo
[gdcm.git] / gdcmPython / demo / PrintDicomDir.py.in
index c988a4e6b0f89c072d849de71b50cb41d1d3e48d..dcd47fef32a27530b8e3407318497e67d5c46637 100644 (file)
@@ -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)