]> git.sesse.net Git - xml-template/blobdiff - python/xmltemplate.py
Make the Python version pass the passthru test...
[xml-template] / python / xmltemplate.py
index e22d0f8bfae975df540f13ce34802e01a4e64c51..d10fc117898da46b86bdd788e71fd410692c3534 100644 (file)
@@ -2,7 +2,7 @@
 import xml.dom.minidom
 
 def process_file(filename, obj, clean = False):
-       doc = xml.dom.minidom.parse("../xml/simple.xml")
+       doc = xml.dom.minidom.parse(filename)
        process(doc, obj, clean)
        return doc