You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
FlyWieEinAirplane
changed the title
finding unused dst dirs fails because of trailing slash "/"
finding unused dst dirs fails because of trailing slash "/" mismatch
Sep 11, 2021
altendky
added a commit
to altendky/plotman
that referenced
this issue
Sep 12, 2021
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?
plotman/src/plotman/manager.py
Line 130 in 77f85e3
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.
The text was updated successfully, but these errors were encountered: