diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/turtle_blocks_extras/turtle_blocks_extras.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py index 85f57ce..c3f00b1 100644 --- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py +++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py @@ -981,6 +981,7 @@ bullets')) if os.path.exists(media[6:]): # is it a path? self.tw.lc.filepath = media[6:] elif self.tw.running_sugar: # is it a datastore object? + from sugar.datastore import datastore try: dsobject = datastore.get(media[6:]) except: @@ -1045,6 +1046,7 @@ bullets')) elif os.path.exists(string[6:]): # is it a path? self.tw.lc.filepath = string[6:] elif self.tw.running_sugar: # is it a datastore object? + from sugar.datastore import datastore try: self.tw.lc.dsobject = datastore.get(string[6:]) except: |