From bcb6c7df195eeef39c17d2b31b39510f2dda790c Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 12 Oct 2021 21:12:24 -0700 Subject: [PATCH] Fix use of pathclass in overwrite. --- voussoirkit/downloady.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoirkit/downloady.py b/voussoirkit/downloady.py index 0a802c3..cce0790 100644 --- a/voussoirkit/downloady.py +++ b/voussoirkit/downloady.py @@ -277,7 +277,7 @@ def prepare_plan( # Chapter 6: Redeem your meal vouchers here if real_exists: if overwrite: - os.remove(real_localname) + os.remove(real_localname.absolute_path) if user_provided_range: return plan_partial