diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-08-02 21:29:38 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-08-02 21:29:38 (GMT) |
commit | 962fcab7099dcd9334de21711faebcff8cdce89f (patch) | |
tree | 47ff71b3e5c8767c505260b347a722007ccb0362 | |
parent | 36d6862657d352f76d5d966b18ac7dc70a47d3ca (diff) |
use samples instead of samples/thumbnails
-rw-r--r-- | TurtleArtActivity.py | 3 | ||||
-rwxr-xr-x | turtleblocks.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index 533796c..f965003 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -1660,7 +1660,8 @@ in order to use the plugin.')) if os.path.exists(file_path): self.tw.load_files(file_path) break - self.tw.load_save_folder = os.path.dirname(self._selected_sample) + self.tw.load_save_folder = os.path.join(activity.get_bundle_path(), + 'samples') def _fill_samples_list(self, store): ''' diff --git a/turtleblocks.py b/turtleblocks.py index 6ef5263..18bc1ac 100755 --- a/turtleblocks.py +++ b/turtleblocks.py @@ -817,7 +817,8 @@ Would you like to save before quitting?')) if os.path.exists(file_path): self.tw.load_files(file_path) break - self.tw.load_save_folder = os.path.dirname(self._selected_sample) + self.tw.load_save_folder = os.path.join(activity.get_bundle_path(), + 'samples') def _fill_samples_list(self, store): ''' |