Fixed Python injection vulnerability, removed unused whitespace