From c22d2bea65ab24ceb0e46dd3c12e4958386e3be7 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Wed, 8 Apr 2020 03:22:34 +0200 Subject: [PATCH] fixed type error --- variable_grabbler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variable_grabbler.py b/variable_grabbler.py index b00b0ae..2d36cfa 100644 --- a/variable_grabbler.py +++ b/variable_grabbler.py @@ -79,7 +79,7 @@ for variable in config_values: if replacement[i] == '?' and (i==0 or not replacement[i-1]=='\\'): argument_positions = argument_positions + [ i ] i = i+1 - print "DEBUG: " + argument_positions + print "DEBUG: " + repr(argument_positions) replacement = replacement.replace("\\?", "?") file_out = open(sys.argv[1], "w") file_out.write(file_content.decode('utf-8').replace("%" + variable.upper() + "%", replacement).encode('utf-8'))