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.
This commit is contained in:
parent
9d8290dc26
commit
778b10f8d4
@ -59,4 +59,5 @@ def get_user_activities_path():
|
|||||||
|
|
||||||
|
|
||||||
def get_user_library_path():
|
def get_user_library_path():
|
||||||
return os.path.expanduser('~/Library')
|
return os.environ.get("SUGAR_LIBRARY_PATH",
|
||||||
|
os.path.expanduser('~/Library'))
|
||||||
|
Loading…
Reference in New Issue
Block a user