Change path validation to absolute to account for relative paths. Close #1.

This commit is contained in:
sc0tfree 2020-02-18 20:35:27 -05:00
parent 6221f13bba
commit 5566289daf
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def parse_arguments():
args = parser.parse_args()
# Normalize the path
args.directory = os.path.normpath(args.directory)
args.directory = os.path.abspath(args.directory)
return args