diff options
| -rw-r--r-- | mat/mat.py | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -73,6 +73,8 @@ def get_sharedir(): | |||
| 73 | return '' | 73 | return '' |
| 74 | elif os.path.exists('/usr/local/share/mat/'): | 74 | elif os.path.exists('/usr/local/share/mat/'): |
| 75 | return '/usr/local/share/mat/' | 75 | return '/usr/local/share/mat/' |
| 76 | elif os.path.exist('/usr/share/mat/'): | ||
| 77 | return '/usr/share/mat' | ||
| 76 | 78 | ||
| 77 | 79 | ||
| 78 | class XMLParser(xml.sax.handler.ContentHandler): | 80 | class XMLParser(xml.sax.handler.ContentHandler): |
