Esempio 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()
Esempio n. 2
0
 def initialize(self):
     self.allItems = itemData()