Fix use of pathclass in overwrite.

This commit is contained in:
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

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