From 633afc3bb08247e67d290a7553a9956ac1e403df Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 9 May 2012 18:44:42 +0200 Subject: Fix path-related bug (only for devs) --- lib/mat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mat.py b/lib/mat.py index 2dc670c..9196ed2 100644 --- a/lib/mat.py +++ b/lib/mat.py @@ -36,7 +36,7 @@ def get_sharedir(): An ugly hack to find where is the "FORMATS" file. ''' if os.path.isfile('FORMATS'): - return '' + return '.' elif os.path.exists('/usr/local/share/mat/'): return '/usr/local/share/mat/' elif os.path.exists('/usr/share/mat/'): -- cgit v1.3