summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/'):