diff options
| -rw-r--r-- | lib/mat.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -36,7 +36,7 @@ def get_sharedir(filename): | |||
| 36 | An ugly hack to find various files | 36 | An ugly hack to find various files |
| 37 | ''' | 37 | ''' |
| 38 | if os.path.isfile(filename): | 38 | if os.path.isfile(filename): |
| 39 | return '.' | 39 | return filename |
| 40 | elif os.path.exists(os.path.join('/usr/local/share/mat/', filename)): | 40 | elif os.path.exists(os.path.join('/usr/local/share/mat/', filename)): |
| 41 | return os.path.join('/usr/local/share/mat/', filename) | 41 | return os.path.join('/usr/local/share/mat/', filename) |
| 42 | elif os.path.exists(os.path.join('/usr/share/mat/', filename)): | 42 | elif os.path.exists(os.path.join('/usr/share/mat/', filename)): |
