From 4c68ca261eecf9aaae35c82b1574d58f4be2a5e3 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 10 Dec 2013 14:07:30 +0000 Subject: fix problem with null path for turtle shells (w Alan Aguiar) --- 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 -- cgit v0.9.1