mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-13 02:07:47 +08:00
Test
This commit is contained in:
parent
05daf9692b
commit
fd37cab842
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ def path_replace(path):
|
||||||
elif path.startswith('/'):
|
elif path.startswith('/'):
|
||||||
path = path.replace('\\', '/')
|
path = path.replace('\\', '/')
|
||||||
break
|
break
|
||||||
return path
|
return path.encode('string_escape')
|
||||||
|
|
||||||
def path_replace_reverse(path):
|
def path_replace_reverse(path):
|
||||||
print path
|
print path
|
||||||
|
@ -51,4 +51,4 @@ def path_replace_reverse(path):
|
||||||
path = path.replace('\\', '/')
|
path = path.replace('\\', '/')
|
||||||
break
|
break
|
||||||
print path
|
print path
|
||||||
return path
|
return path.encode('string_escape')
|
||||||
|
|
Loading…
Reference in a new issue