From e995bd502dff78697e6cfed5af2b652cddf4041c Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 18 Nov 2021 17:02:32 -0800 Subject: [PATCH] Use os.path.normpath instead of normalize_sep. --- voussoirkit/downloady.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoirkit/downloady.py b/voussoirkit/downloady.py index 2be015d..b6a0850 100644 --- a/voussoirkit/downloady.py +++ b/voussoirkit/downloady.py @@ -377,7 +377,7 @@ def basename_from_url(url): def is_special_file(file): if isinstance(file, pathclass.Path): return False - file = pathclass.normalize_sep(file) + file = os.path.normpath(file) file = file.rsplit(os.sep)[-1] file = os.path.normcase(file) return file in SPECIAL_FILENAMES