summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
authorjvoisin2011-08-30 18:29:28 +0200
committerjvoisin2011-08-30 18:29:28 +0200
commit52d403f2a7cf7ac491f5d6c2587fc594f4c1ec32 (patch)
tree3d761f647b6e3b084bf041a85f7c687dc1dd7371 /mat-gui
parent38106a5aeb7a318352949fae4f5b3e72e5e33254 (diff)
The setup script should work now o/
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui2
1 files changed, 1 insertions, 1 deletions
diff --git a/mat-gui b/mat-gui
index d92df74..a11bdff 100755
--- a/mat-gui
+++ b/mat-gui
@@ -355,7 +355,7 @@ data loss, but clean more efficiently'))
355 handler = mat.XMLParser() 355 handler = mat.XMLParser()
356 parser = xml.sax.make_parser() 356 parser = xml.sax.make_parser()
357 parser.setContentHandler(handler) 357 parser.setContentHandler(handler)
358 with open('FORMATS', 'r') as xmlfile: 358 with open(mat.get_sharedir() + 'FORMATS', 'r') as xmlfile:
359 parser.parse(xmlfile) 359 parser.parse(xmlfile)
360 360
361 for item in handler.list: # list of dict : one dict per format 361 for item in handler.list: # list of dict : one dict per format