diff options
| author | jvoisin | 2012-05-09 18:44:42 +0200 |
|---|---|---|
| committer | jvoisin | 2012-05-09 18:44:42 +0200 |
| commit | 633afc3bb08247e67d290a7553a9956ac1e403df (patch) | |
| tree | f9cf0f8d1bc2a4173c060ec4bfded6e660e8e927 /lib | |
| parent | faac6b825bf087879c2229bc939697529d6e547e (diff) | |
Fix path-related bug (only for devs)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mat.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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/'): |
