source: lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/CategoriesManager.py @ 4116

Last change on this file since 4116 was 4116, checked in by hectorgh, 4 years ago

wip

File size: 293 bytes
Line 
1import json
2import Core
3
4
5class CategoriesManager:
6       
7        def __init__(self):
8               
9                self.core=Core.Core.get_core()
10               
11                self.categories={}
12               
13                f=open(self.core.rsrc_dir+"sections.json")
14                self.categories=json.load(f)
15                f.close()
16               
17                self.banned_categories=["Qt","GNOME","GTK","KDE"]
18               
19        #def init
Note: See TracBrowser for help on using the repository browser.