Fixed invisible root node
authoretisserant
Thu, 13 Sep 2007 10:22:40 +0200
changeset 36 42e391e7c455
parent 35 4d7861fc34d4
child 37 625f52bba682
Fixed invisible root node
Beremiz.py
--- a/Beremiz.py	Thu Sep 13 09:01:57 2007 +0200
+++ b/Beremiz.py	Thu Sep 13 10:22:40 2007 +0200
@@ -411,7 +411,7 @@
 
     def GetSelectedPlugin(self):
         name = self.GetSelectedPluginName()
-        if not name:
+        if name is None:
             return None
         elif name == "":
             return self.PluginRoot