diff --git a/scripts/results_dejavu.py b/scripts/results_dejavu.py index fa4451f..786a0cd 100644 --- a/scripts/results_dejavu.py +++ b/scripts/results_dejavu.py @@ -72,6 +72,11 @@ if options.log == True: if options.results_folder != "" and options.results_folder[len(options.results_folder)-1] != '/': options.results_folder += "/" +try: + os.stat(options.results_folder) +except: + os.mkdir(options.results_folder) + def log_msg(msg): if options.log == True: logging.debug(msg)