diff options
Diffstat (limited to 'TurtleArt/tablock.py')
-rw-r--r-- | TurtleArt/tablock.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TurtleArt/tablock.py b/TurtleArt/tablock.py index dd1ac04..b0e3dc5 100644 --- a/TurtleArt/tablock.py +++ b/TurtleArt/tablock.py @@ -151,6 +151,7 @@ class Block: self._font_size = [6.0, 4.5] self._image = None self._visible = True + self.unknown = False # Block is of unknown style self.block_methods = { 'basic-style': self._make_basic_style, @@ -595,6 +596,7 @@ class Block: return error_output('ERROR: block type not found %s' % (self.name)) self.block_methods['blank-style'](svg) + self.unknown = True def _set_colors(self, svg): if self._custom_colors: |