Exemplo n.º 1
0
 def __init__(self,categoryCollection=None):
     self.allItems = itemData()
     if categoryCollection is None:
         loader = categoryLoader()
         loader.loadFromFile()
         self.categoryCollection = loader.categoryList
     self.initialize()
Exemplo n.º 2
0
 def initialize(self):
     self.allItems = itemData()