Investors & landlords

I found this very helpful, but my case has an added complexity that I don't know how to treat. I have the very situation described here, but then early in 2020 I had to do extensive work on the rental house >$100k to get it ready to sell, which it did mid way through 2020. How do I treat that large CAPEX in 2020 when the house sold in 2020?