Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/env.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-18 12:48:34 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-18 12:48:34 (GMT)
commit154a0e91ffece83fd1e7ef836c6faaa83166e93c (patch)
tree8c9ccfd4326cd646352f29a9389c3d3ebd401d49 /sugar/env.py
parent3fd29884f952ea96fcc003b9611c83612759a64b (diff)
Create ~/Activities only when necessary
Diffstat (limited to 'sugar/env.py')
-rw-r--r--sugar/env.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sugar/env.py b/sugar/env.py
index 4938940..2acdcb9 100644
--- a/sugar/env.py
+++ b/sugar/env.py
@@ -53,10 +53,7 @@ def get_profile_path(path=None):
return base
def get_user_activities_path():
- path = os.path.expanduser('~/Activities')
- if not os.path.isdir(path):
- os.mkdir(path)
- return path
+ return os.path.expanduser('~/Activities')
def get_bin_path(path=None):
return _get_prefix_path('bin', path)