diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-10-27 20:07:24 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-10-27 20:07:24 (GMT) |
commit | 28c6f62317ed2163fa6d86f763b529cb3e55ed2c (patch) | |
tree | 887663b30c8df978e72ed8f8a3d121b778446923 /plugins | |
parent | 564de007224426b71578ef37a367eddca58417f8 (diff) |
added missing imports
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: |