summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjvoisin2012-05-09 18:44:42 +0200
committerjvoisin2012-05-09 18:44:42 +0200
commit633afc3bb08247e67d290a7553a9956ac1e403df (patch)
treef9cf0f8d1bc2a4173c060ec4bfded6e660e8e927 /lib
parentfaac6b825bf087879c2229bc939697529d6e547e (diff)
Fix path-related bug (only for devs)
Diffstat (limited to 'lib')
-rw-r--r--lib/mat.py2
1 files changed, 1 insertions, 1 deletions
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():
36 An ugly hack to find where is the "FORMATS" file. 36 An ugly hack to find where is the "FORMATS" file.
37 ''' 37 '''
38 if os.path.isfile('FORMATS'): 38 if os.path.isfile('FORMATS'):
39 return '' 39 return '.'
40 elif os.path.exists('/usr/local/share/mat/'): 40 elif os.path.exists('/usr/local/share/mat/'):
41 return '/usr/local/share/mat/' 41 return '/usr/local/share/mat/'
42 elif os.path.exists('/usr/share/mat/'): 42 elif os.path.exists('/usr/share/mat/'):