Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-05-10 12:34:10 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-05-10 12:34:10 (GMT)
commitd6850279a86c580a40104de4a914693a7eb160bd (patch)
tree46f8ec40c4f3bb3207093466972696ac27ebe0dc /sugar
parent30114f9545f2a95ac5935e92e377896d557abb23 (diff)
Temporary fix while we stabilize the new datastore.
Diffstat (limited to 'sugar')
-rw-r--r--sugar/activity/activity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar/activity/activity.py b/sugar/activity/activity.py
index fcbccc3..4e65f65 100644
--- a/sugar/activity/activity.py
+++ b/sugar/activity/activity.py
@@ -189,7 +189,8 @@ class Activity(Window, gtk.Container):
self.jobject['buddies'] = ''
self.jobject['preview'] = ''
self.jobject['icon-color'] = profile.get_color().to_string()
- self.jobject.file_path = '/tmp/teste'
+ from sugar import env
+ self.jobject.file_path = os.path.join(env.get_profile_path(), 'test.txt')
f = open(self.jobject.file_path, 'w')
f.write('mec')
f.close()