diff --git a/data/po/extract_strings_from_XML.py b/data/po/extract_strings_from_XML.py index 19b8acf8f..d27f25b7f 100755 --- a/data/po/extract_strings_from_XML.py +++ b/data/po/extract_strings_from_XML.py @@ -86,7 +86,7 @@ for file in filenames: isAchievements = True try: - doc = xml.dom.minidom.parse(file) + doc = defusedxml.minidom.parse(file) except Exception as ex: print "============================================" print "/!\\ Expat doesn't like ", file, "! Error=", type(ex), " (", ex.args, ")"