diff --git a/.mailboxerer.sh.swp b/.mailboxerer.sh.swp new file mode 100644 index 0000000..266429e Binary files /dev/null and b/.mailboxerer.sh.swp differ diff --git a/variable_grabbler.py b/variable_grabbler.py index 4404075..2c69b9c 100644 --- a/variable_grabbler.py +++ b/variable_grabbler.py @@ -1,7 +1,7 @@ #!/usr/bin/python2 print """ -Variable Grabbler - version 3.2 +Variable Grabbler - version 3.3 -------------------------------""" # definitions @@ -37,6 +37,6 @@ for variable in config_values: replacement = config_values[variable] print repr(replacement) file_out = open(sys.argv[1], "w") - file_out.write(file_content.decode('utf-8').replace("%" + variable + "%", replacement).encode('utf-8')) + file_out.write(file_content.decode('utf-8').replace("%" + variable.upper() + "%", replacement).encode('utf-8')) file_out.close() print "Done."