From e5b295f03e507bd28a821112619ef8e490b9f3c6 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Wed, 8 Apr 2020 03:54:57 +0200 Subject: [PATCH] losing my mind --- variable_grabbler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variable_grabbler.py b/variable_grabbler.py index f1aacbd..d0ade6b 100644 --- a/variable_grabbler.py +++ b/variable_grabbler.py @@ -85,7 +85,7 @@ for variable in config_values: replacement = replacement.replace("\\?", "?") print repr(replacement) # actually replace variables - file_content = file_content.decode('utf-8').replace("%" + variable.upper() + "%", replacement).encode('utf-8') + file_content = file_content.decode('utf-8').replace("%" + variable.upper() + "%", replacement).encode('utf-8') print "Saving new file..." file_out = open(sys.argv[1], "w")