Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/talogo.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-12-10 14:07:30 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-12-10 14:07:30 (GMT)
commit4c68ca261eecf9aaae35c82b1574d58f4be2a5e3 (patch)
treecd0bc7e797be6dc80d1f5ce66a790a0c6c525d3a /TurtleArt/talogo.py
parenteb793446e007c7c9988d6dd14773935b49edfca9 (diff)
fix problem with null path for turtle shells (w Alan Aguiar)
Diffstat (limited to 'TurtleArt/talogo.py')
-rw-r--r--TurtleArt/talogo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/talogo.py b/TurtleArt/talogo.py
index 67aa32c..5380137 100644
--- a/TurtleArt/talogo.py
+++ b/TurtleArt/talogo.py
@@ -1011,7 +1011,7 @@ class LogoCode:
self.filepath = None
self.dsobject = None
- if os_path_exists(obj.value): # file path
+ if obj.value is not None and os_path_exists(obj.value):
self.filepath = obj.value
elif self.tw.running_sugar: # datastore object
from sugar.datastore import datastore