mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-04 10:28:15 +00:00
Test
This commit is contained in:
parent
fd37cab842
commit
bc4bc4f045
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.encode('string_escape')
|
return path.encode('utf8')
|
||||||
|
|
||||||
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.encode('string_escape')
|
return path.encode('utf8')
|
||||||
|
|
Loading…
Add table
Reference in a new issue