diff options
author | Pootle daemon <pootle@pootle.sugarlabs.org> | 2013-10-08 18:01:27 (GMT) |
---|---|---|
committer | Pootle daemon <pootle@pootle.sugarlabs.org> | 2013-10-08 18:01:27 (GMT) |
commit | 8a8d666680d32c2360837cdc4e724197661a0c0c (patch) | |
tree | 2c24aff611cc0b0ad9cd8d8b130067d21ffd2fd9 | |
parent | 093b25195fb8413755bf8028d7825993cf5570fb (diff) | |
parent | 9cc5006336d1f52bb5bf9c96101f7be03ed8d431 (diff) |
Merge branch 'master' of git.sugarlabs.org:turtleart/mainline
-rw-r--r-- | TurtleArt/tawindow.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 785a666..383d513 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -382,6 +382,7 @@ class TurtleArtWindow(): except Exception as e: debug_output('Failed to load %s: %s' % (plugin_class, str(e)), self.running_sugar) + def _add_plugin_icon_dir(self, dirname): ''' If there is an icon subdir, add it to the search path. ''' @@ -409,6 +410,8 @@ class TurtleArtWindow(): except Exception as e: debug_output('Plugin %s failed during setup: %s' % (plugin_class, str(e)), self.running_sugar) + # If setup fails, remove the plugin from the list + self.turtleart_plugins.remove(plugin) def _start_plugins(self): ''' Start is called everytime we execute blocks. ''' |