mirror of https://github.com/sc0tfree/updog.git
Fix bug by normalizing input path
This commit is contained in:
parent
83981d1b8a
commit
157b429794
|
@ -37,6 +37,9 @@ def parse_arguments():
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
# Normalize the path
|
||||||
|
args.directory = os.path.normpath(args.directory)
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue