Fix use of pathclass in overwrite.

master
voussoir 2021-10-12 21:12:24 -07:00
parent e30c6df519
commit bcb6c7df19
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 1 additions and 1 deletions

View File

@ -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