This commit is contained in:
Louis Vézina 2017-11-27 15:58:40 -05:00
parent fcb3444984
commit 05daf9692b
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ def path_replace(path):
return path
def path_replace_reverse(path):
print path
for path_mapping in path_mappings:
if path_mapping[1] in path:
path = path.replace(path_mapping[1], path_mapping[0])
@ -49,4 +50,5 @@ def path_replace_reverse(path):
elif path.startswith('/'):
path = path.replace('\\', '/')
break
print path
return path