diff --git a/variable_grabbler.py b/variable_grabbler.py index d0ade6b..f7aaee8 100644 --- a/variable_grabbler.py +++ b/variable_grabbler.py @@ -38,9 +38,9 @@ print "Done." print "Reading file: "+sys.argv[1]+"..." - file_in = open(sys.argv[1], "r") - file_content = file_in.read() - file_in.close() +file_in = open(sys.argv[1], "r") +file_content = file_in.read() +file_in.close() print "Replacing variables:" for variable in config_values: