also hide windows-paths in exceptions
This commit is contained in:
parent
189391fccd
commit
b11db090d8
@ -410,6 +410,10 @@ def log_thrs(log, ival, name):
|
||||
def vol_san(vols, txt):
|
||||
for vol in vols:
|
||||
txt = txt.replace(vol.realpath.encode("utf-8"), vol.vpath.encode("utf-8"))
|
||||
txt = txt.replace(
|
||||
vol.realpath.encode("utf-8").replace(b"\\", b"\\\\"),
|
||||
vol.vpath.encode("utf-8"),
|
||||
)
|
||||
|
||||
return txt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user