Added proper wandows support

This commit is contained in:
benjamyn committed 2018-03-30 01:51:20 +11:00
1 parent 3344f8ab80
commit aa03438280
4 files changed
+23 -11

No files matched your search

+3 -2
View File
@@ -1,9 +1,10 @@
import files as f
import json
import os
def readConf():
def readConf(fileLoc):
try:
jsonData = json.loads(f.openFile("config.json").read())
jsonData = json.loads(f.openFile(os.path.expanduser(fileLoc)).read())
except Exception as e:
print e
jasonData = ""
BIN
View File
Binary file not shown.