- Timestamp:
- Apr 21, 2017, 9:33:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zero-center/trunk/fuentes/install-files/usr/share/zero-center/zero-center.py
r4269 r4396 12 12 import sys 13 13 import subprocess 14 import json 14 15 15 16 try: … … 224 225 try: 225 226 var=self.client.get_all_states("","ZCenterVariables") 226 227 except: 228 local_path="/var/lib/n4d/variables-dir/ZEROCENTER" 229 if os.path.exists(local_path): 230 f=open(local_path) 231 var=json.load(f)["ZEROCENTER"]["value"] 232 f.close() 233 else: 234 var={} 235 236 try: 227 237 for cat in self.app_parser.apps: 228 238
Note: See TracChangeset
for help on using the changeset viewer.