Open FlyWieEinAirplane opened 3 years ago
I really need to get to using pathlib someday... it wouldn't have this issue. But, thank you for catching this and reporting it with an explanation. I'll do a quick patchup for now. You were observing this in the running of plotman I would guess? With madMAx?
Any chance you could test out https://github.com/ericaltendorf/plotman/pull/920?
https://github.com/ericaltendorf/plotman/blob/77f85e3b38abc45d8cb6af3bad650b458c3aef35/src/plotman/manager.py#L130
var d will be in the format of "/mnt/destDir" while each key in dir2ph.keys() will be in format "/mnt/destDir/" Because of this, all directories will be in the ununsed_dirs array.