diff --git a/illumiprocessor/core.py b/illumiprocessor/core.py index 0de2046..9ff0d7b 100644 --- a/illumiprocessor/core.py +++ b/illumiprocessor/core.py @@ -37,7 +37,7 @@ def __call__(self, parser, namespace, values, option_string=None): d = os.path.abspath(os.path.expanduser(values)) # check to see if directory exists if os.path.exists(d): - answer = eval(input("[WARNING] Output directory exists, REMOVE [Y/n]? ")) + answer = input("[WARNING] Output directory exists, REMOVE [Y/n]? ").upper() if answer == "Y": shutil.rmtree(d) else: