From 932aec9483307557710639ebf26bfd8cd694276f Mon Sep 17 00:00:00 2001 From: prodigysml Date: Mon, 27 Jul 2020 07:09:07 +0000 Subject: [PATCH] Fixed #102 bug and incremented the version --- Interlace/lib/core/__version__.py | 2 +- Interlace/lib/core/input.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Interlace/lib/core/__version__.py b/Interlace/lib/core/__version__.py index b280975..e8b6b09 100644 --- a/Interlace/lib/core/__version__.py +++ b/Interlace/lib/core/__version__.py @@ -1 +1 @@ -__version__ = '1.8.0' +__version__ = '1.8.1' diff --git a/Interlace/lib/core/input.py b/Interlace/lib/core/input.py index b2512e0..cb4a15c 100644 --- a/Interlace/lib/core/input.py +++ b/Interlace/lib/core/input.py @@ -21,7 +21,7 @@ class InputHelper(object): def readable_file(parser, arg): if InputHelper.check_path(parser, arg): return open(arg, 'r') # return an open file handle - + @staticmethod def check_positive(parser, arg): try: @@ -211,7 +211,7 @@ class InputHelper(object): for replacement in replacements: if command.name().find(variable) != -1: new_task = command.clone() - new_task.replace(variable, replacement) + new_task.replace(variable, str(replacement)) add_task(new_task, tasks, temp_set) else: add_task(command, tasks, temp_set)