diff options
author | Muriel de Souza Godoi <muriel@laptop.org> | 2007-11-30 20:18:35 (GMT) |
---|---|---|
committer | Muriel de Souza Godoi <muriel@laptop.org> | 2007-11-30 20:18:35 (GMT) |
commit | 8cc2593a14c6aa97e28d112d2e83e663699cc044 (patch) | |
tree | 7e3b372aeaa8c76cba38778f28f806e81f7ab8ef /cardlist.py | |
parent | 0f0e6aa02e9988ab9dd3ce2a365fe546a108f0fe (diff) |
Change temp folder permisson to allow activity access
Diffstat (limited to 'cardlist.py')
-rw-r--r-- | cardlist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cardlist.py b/cardlist.py index daa9de1..0922d7f 100644 --- a/cardlist.py +++ b/cardlist.py @@ -98,8 +98,9 @@ class CardList(gtk.EventBox): def save_game(self, widget, game_name, equal_pairs, grouped): - tmp_root = join(environ['SUGAR_ACTIVITY_ROOT'], 'tmp') + tmp_root = join(environ['SUGAR_ACTIVITY_ROOT'], 'instance') temp_folder = tempfile.mkdtemp(dir=tmp_root) + os.chmod(temp_folder,0777) temp_img_folder = join(temp_folder, 'images') temp_snd_folder = join(temp_folder, 'sounds') |