1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-31 03:12:12 +00:00
This commit is contained in:
Louis Vézina 2017-11-27 15:58:40 -05:00
parent fcb3444984
commit 05daf9692b

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