This commit is contained in:
2014-11-27 13:10:40 +01:00
parent 4aabfb09dc
commit 85fd8513ae
4 changed files with 5 additions and 7 deletions

View File

@@ -29,16 +29,17 @@ class PathHandle:
"json",
"path",
)
def __init__(self):
self.json = None
# list of strings
self.path = []
#self.filepath_set("gui.json")
# self.filepath_set("gui.json")
self.refresh()
def refresh(self):
import json
# import json
# self.json = json.load(fp)
self.json = self.json_from_server(self.path)
print(self.json)