Add a SUGAR_ACTIVITIES_PATH environment variable
Useful for tests but perhaps for other stuff too.
This commit is contained in:
parent
617c11a078
commit
65560b0b94
@ -51,8 +51,8 @@ def get_logs_path(path=None):
|
||||
|
||||
|
||||
def get_user_activities_path():
|
||||
return os.path.expanduser('~/Activities')
|
||||
|
||||
return os.environ.get("SUGAR_ACTIVITIES_PATH",
|
||||
os.path.expanduser('~/Activities'))
|
||||
|
||||
def get_user_library_path():
|
||||
return os.path.expanduser('~/Library')
|
||||
|
Loading…
Reference in New Issue
Block a user