From 2f4783d967897f457eb92aa21d3cbe2c55ebe20f Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Mon, 24 Feb 2020 00:24:24 +0100 Subject: [PATCH] attempt at fixing this program not actually doing anything --- variable_grabbler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variable_grabbler.py b/variable_grabbler.py index e4c7af3..d3b78e9 100644 --- a/variable_grabbler.py +++ b/variable_grabbler.py @@ -12,7 +12,7 @@ file_name_pattern = "*.php" print "Reading config file...", config = open("variable_grabbler.cfg","r") -parsed = json.load(config) +parsed = json.loads(config.read().decode(utf-8)) config.close() print "Done."