]> Creatis software - gdcm.git/blobdiff - gdcmPython/demo/PrintFile.py.in
COMP: Fix comp
[gdcm.git] / gdcmPython / demo / PrintFile.py.in
index 2b3582faf95c4194914de878aa63dc6bbb56dad6..a6d6bfbb2bdc4d5fc9d202046ab43e826551c8d7 100644 (file)
@@ -26,7 +26,7 @@ except IndexError:
    printLevel = 1
 
 ### Build the file element list
-file = gdcm.File()
+file = gdcm.File.New()
 file.SetFileName(fileName)
 file.Load()
 if not file.IsReadable():