Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tasetup.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-03-28 14:30:40 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-03-28 14:30:40 (GMT)
commitb7560b44fd9b9cb8feb7f15f9d0bc90fbf0dfcc8 (patch)
tree7a48ab1629cf5256694ab73253ee9fdeb1a6f229 /tasetup.py
parente9aa825d1f10faa9420662303d71134ad5e363a9 (diff)
changes to enable command-line operation
Diffstat (limited to 'tasetup.py')
-rw-r--r--tasetup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tasetup.py b/tasetup.py
index f84dec3..30cb79c 100644
--- a/tasetup.py
+++ b/tasetup.py
@@ -305,7 +305,9 @@ def load_image(path, dir, file):
datapath = os.path.join(activity.get_activity_root(), "data")
except:
# early versions of Sugar (656) didn't support get_activity_root()
- datapath = "/home/olpc/.sugar/default/org.sugarlabs.TAPortfolioActivity/data"
+ datapath = os.path.join( \
+ os.environ['HOME'], \
+ ".sugar/default/org.laptop.TurtleArtActivity/data")
# first try to open the cached image
# if you fail, open the .svg file and cache the result as png