mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 14:54:21 +01:00
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:
@@ -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)))
|
||||||
|
|||||||
Reference in New Issue
Block a user