Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/talogo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/TurtleArt/talogo.py b/TurtleArt/talogo.py
index d8adca6..91ae153 100644
--- a/TurtleArt/talogo.py
+++ b/TurtleArt/talogo.py
@@ -606,6 +606,8 @@ class LogoCode:
self.clear_value_blocks()
def clear_value_blocks(self):
+ if not hasattr(self, 'value_blocks_to_update'):
+ return
for name in value_blocks:
self.update_label_value(name)