diff options
| -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/'): |
