Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TurtleArtActivity.py3
-rwxr-xr-xturtleblocks.py3
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):
'''