Fallback to .local for application edits.

(cherry picked from commit 3de5f1498b)
This commit is contained in:
Martin Wimpress 2015-04-28 22:26:08 +01:00 committed by James Lu
parent 8dd16eb326
commit d98757e12a

View File

@ -115,7 +115,7 @@ def get_system_item_paths():
if os.environ.has_key('XDG_DATA_DIRS'):
item_dirs = os.environ['XDG_DATA_DIRS'].split(":")
else:
item_dirs = [os.path.join('usr', 'share')]
item_dirs = [os.path.join(os.environ['HOME'], '.local', 'share')]
return item_dirs