Updated to be inheritable

This commit is contained in:
Gyedo Jeon 2010-02-19 20:07:20 +00:00
parent de1e105e82
commit 7d72196ccf
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ from ObjectPaletteBase import *
class ProtoPaletteBase(ObjectPaletteBase):
def __init__(self):
ObjectPaletteBase.__init__(self)
# self.dirname should be defined in inherited class
assert self.dirname
def addItems(self):
if type(protoData) == types.DictType: