14 lines
239 B
Python
14 lines
239 B
Python
import files as f
|
|
import json
|
|
import os
|
|
|
|
def readConf(fileLoc):
|
|
try:
|
|
jsonData = json.loads(f.openFile(os.path.expanduser(fileLoc)).read())
|
|
except Exception as e:
|
|
print e
|
|
jasonData = ""
|
|
return jsonData
|
|
|
|
|