def __init__(self): self.keyword_folder = os.path.join('Storage', 'config', 'keywords') self.data_path = os.path.join(self.keyword_folder, 'keyword_data.json') self.totals_path = os.path.join(self.keyword_folder, 'totals.json') self.keyword_names = LocalStorage.get_keyword_names() self.totals = self.load_totals() self.keywords = self.load_keywords()
def __init__(self): self.keyword_names = LocalStorage.get_keyword_names()