mirror of https://github.com/sc0tfree/updog.git
Change path validation to absolute to account for relative paths. Close #1.
This commit is contained in:
parent
6221f13bba
commit
5566289daf
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue