mirror of https://github.com/morpheus65535/bazarr
Test
This commit is contained in:
parent
fcb3444984
commit
05daf9692b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue