From 5566289daf3bea0b31c27139d8a6fb9e1764d4ff Mon Sep 17 00:00:00 2001 From: sc0tfree Date: Tue, 18 Feb 2020 20:35:27 -0500 Subject: [PATCH] Change path validation to absolute to account for relative paths. Close #1. --- updog/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updog/__main__.py b/updog/__main__.py index ec4a98e..44aa187 100644 --- a/updog/__main__.py +++ b/updog/__main__.py @@ -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