Fixed #102 bug and incremented the version

This commit is contained in:
prodigysml
2020-07-27 07:09:07 +00:00
parent 7c8a77c30a
commit 932aec9483
2 changed files with 3 additions and 3 deletions

View File

@@ -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)