isEmpty is now a property, not a method

This commit is contained in:
cncfanatics
2010-09-06 18:12:24 +02:00
parent bad7e81a6d
commit 15c4be53fc
3 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ class ModuleState(ViewColumn):
return ""
def getImageId(self, mod):
if mod.isEmpty():
if mod.isEmpty:
return -1
else:
bitmap = bitmapLoader.getBitmap("state_%s_small" % self.stateNameMap[mod.state], "icons")