Trivial style update

This commit is contained in:
Miroslav Stampar
2018-07-02 11:41:36 +02:00
parent 4b4f728d8e
commit 48cd0421a6
3 changed files with 5 additions and 4 deletions

View File

@@ -325,7 +325,8 @@ def main():
file_ = match.group(1)
file_ = os.path.relpath(file_, os.path.dirname(__file__))
file_ = file_.replace("\\", '/')
file_ = re.sub(r"\.\./", '/', file_).lstrip('/')
file_ = re.sub(r"\.\./", '/', file_)
file_ = re.sub(r"/{2,}", '/', file_)
excMsg = excMsg.replace(match.group(1), file_)
errMsg = maskSensitiveData(errMsg)