diff options
| -rwxr-xr-x | mat | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -105,7 +105,7 @@ def list_supported(): | |||
| 105 | handler = mat.XMLParser() | 105 | handler = mat.XMLParser() |
| 106 | parser = xml.sax.make_parser() | 106 | parser = xml.sax.make_parser() |
| 107 | parser.setContentHandler(handler) | 107 | parser.setContentHandler(handler) |
| 108 | path = os.path.join(mat.get_formats(), 'FORMATS') | 108 | path = os.path.join(mat.get_datadir(), 'FORMATS') |
| 109 | with open(path, 'r') as xmlfile: | 109 | with open(path, 'r') as xmlfile: |
| 110 | parser.parse(xmlfile) | 110 | parser.parse(xmlfile) |
| 111 | 111 | ||
