def load_new_amz_files(self, amz_files): parser = AmzParser() for f in amz_files: parser.parse(f) objects = parser.get_parsed_objects() self.tree_model = TreeModel() self.tree_model.create_tree(objects)
def load_new_amz_files(self, amz_files): parser = AmzParser() for f in amz_files: parser.parse(f) objects = parser.get_parsed_objects() self.tree_model = TreeModel(objects) self.treeView.setModel(self.tree_model) self.setup_treeview()