attempt at fixing this program not actually doing anything

master
BodgeMaster 2020-02-24 00:24:24 +01:00
parent dd71f828f2
commit 2f4783d967
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ file_name_pattern = "*.php"
print "Reading config file...", print "Reading config file...",
config = open("variable_grabbler.cfg","r") config = open("variable_grabbler.cfg","r")
parsed = json.load(config) parsed = json.loads(config.read().decode(utf-8))
config.close() config.close()
print "Done." print "Done."