Removed check to see if variable exists in all cases. We now fully trust the python3 set object to de-duplicate all commands (which it is intended to do). Should fix #47

This commit is contained in:
prodigysml
2019-06-11 01:10:44 -07:00
parent ccbe0bfdc7
commit 552cdcfc74

View File

@@ -67,9 +67,6 @@ class InputHelper(object):
test = list() test = list()
if not variable in sample(commands, 1)[0]:
return commands
for replacement in replacements: for replacement in replacements:
for command in commands: for command in commands:
test.append(str(command).replace(variable, str(replacement))) test.append(str(command).replace(variable, str(replacement)))