diff options
Diffstat (limited to 'TurtleArt/talogo.py')
-rw-r--r-- | TurtleArt/talogo.py | 2 |
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 |