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

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

adding real code

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