diff options
| author | jvoisin | 2012-05-17 14:04:09 +0200 |
|---|---|---|
| committer | jvoisin | 2012-05-17 14:04:09 +0200 |
| commit | 0b4e1f2b412ad236c271b8f77cb0007dd091d4c3 (patch) | |
| tree | 19c61dd907ae59f7ff94c251b6deb7821ffb391a /mat | |
| parent | adf403ca6adc1bdbd40e35237c4d75548b3f6c74 (diff) | |
Fix the "No such file or directory" logo bug
Diffstat (limited to 'mat')
| -rwxr-xr-x | mat | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -104,7 +104,7 @@ def list_supported(): | |||
| 104 | handler = mat.XMLParser() | 104 | handler = mat.XMLParser() |
| 105 | parser = xml.sax.make_parser() | 105 | parser = xml.sax.make_parser() |
| 106 | parser.setContentHandler(handler) | 106 | parser.setContentHandler(handler) |
| 107 | path = os.path.join(mat.get_sharedir(), 'FORMATS') | 107 | path = mat.get_sharedir('FORMATS') |
| 108 | with open(path, 'r') as xmlfile: | 108 | with open(path, 'r') as xmlfile: |
| 109 | parser.parse(xmlfile) | 109 | parser.parse(xmlfile) |
| 110 | 110 | ||
