Ignore:
Timestamp:
Apr 6, 2017, 2:30:12 PM (4 years ago)
Author:
hectorgh
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/CategoriesManager.py

    r4115 r4116  
    11import json
     2import Core
    23
    3 RSRC="./rsrc/"
    44
    55class CategoriesManager:
     
    77        def __init__(self):
    88               
     9                self.core=Core.Core.get_core()
     10               
    911                self.categories={}
    1012               
    11                 f=open(RSRC+"sections.json")
     13                f=open(self.core.rsrc_dir+"sections.json")
    1214                self.categories=json.load(f)
    1315                f.close()
Note: See TracChangeset for help on using the changeset viewer.