Add an Erroneous status

This commit is contained in:
cncfanatics
2010-10-17 11:22:03 +02:00
parent 2128238af9
commit f425f8e83f

View File

@@ -403,10 +403,10 @@ class ItemEffects (wx.Panel):
for name in names: for name in names:
index = self.effectList.InsertStringItem(sys.maxint, name) index = self.effectList.InsertStringItem(sys.maxint, name)
if effects[name].isImplemented: try:
implemented = "Yes" implemented = "Yes" if effects[name].isImplemented else "No"
else: except:
implemented = "No" implemented = "Erroneous"
self.effectList.SetStringItem(index, 1, implemented) self.effectList.SetStringItem(index, 1, implemented)