From 552cdcfc74d8a54192f3c9a2157ea6a85c237b8f Mon Sep 17 00:00:00 2001 From: prodigysml Date: Tue, 11 Jun 2019 01:10:44 -0700 Subject: [PATCH] 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 --- Interlace/lib/core/input.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Interlace/lib/core/input.py b/Interlace/lib/core/input.py index ea6a308..22823a3 100644 --- a/Interlace/lib/core/input.py +++ b/Interlace/lib/core/input.py @@ -67,9 +67,6 @@ class InputHelper(object): test = list() - if not variable in sample(commands, 1)[0]: - return commands - for replacement in replacements: for command in commands: test.append(str(command).replace(variable, str(replacement)))