Allow override of user library path

This allows for override of ~/Library the same way that can be done
for ~/Activities. Useful for automated testing.
master
Daniel Drake 11 years ago committed by Daniel Narvaez
parent 9d8290dc26
commit 778b10f8d4

@ -59,4 +59,5 @@ def get_user_activities_path():
def get_user_library_path():
return os.path.expanduser('~/Library')
return os.environ.get("SUGAR_LIBRARY_PATH",
os.path.expanduser('~/Library'))

Loading…
Cancel
Save