summaryrefslogtreecommitdiff
path: root/mat
diff options
context:
space:
mode:
authorjvoisin2012-05-17 14:04:09 +0200
committerjvoisin2012-05-17 14:04:09 +0200
commit0b4e1f2b412ad236c271b8f77cb0007dd091d4c3 (patch)
tree19c61dd907ae59f7ff94c251b6deb7821ffb391a /mat
parentadf403ca6adc1bdbd40e35237c4d75548b3f6c74 (diff)
Fix the "No such file or directory" logo bug
Diffstat (limited to 'mat')
-rwxr-xr-xmat2
1 files changed, 1 insertions, 1 deletions
diff --git a/mat b/mat
index 6ce09d9..93792e3 100755
--- a/mat
+++ b/mat
@@ -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