Temporary fix while we stabilize the new datastore.

This commit is contained in:
Tomeu Vizoso 2007-05-10 14:34:10 +02:00
parent 30114f9545
commit d6850279a8

View File

@ -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()