From 52d403f2a7cf7ac491f5d6c2587fc594f4c1ec32 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 30 Aug 2011 18:29:28 +0200 Subject: The setup script should work now o/ --- mat-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mat-cli') diff --git a/mat-cli b/mat-cli index 6b2de43..8e38d97 100755 --- a/mat-cli +++ b/mat-cli @@ -116,7 +116,7 @@ def list_supported(): handler = mat.XMLParser() parser = xml.sax.make_parser() parser.setContentHandler(handler) - with open('FORMATS', 'r') as xmlfile: + with open(mat.get_sharedir() + 'FORMATS', 'r') as xmlfile: parser.parse(xmlfile) for item in handler.list: -- cgit v1.3