Changed back to encode
Will review why it works under Windows, but not any other platform... :)
This commit is contained in:
parent
cdf78de132
commit
bef482c680
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ class PlayUtils():
|
||||||
try:
|
try:
|
||||||
pathexists = os.path.exists(path)
|
pathexists = os.path.exists(path)
|
||||||
except UnicodeEncodeError:
|
except UnicodeEncodeError:
|
||||||
pathexists = os.path.exists(path.decode('utf-8'))
|
pathexists = os.path.exists(path.encode('utf-8'))
|
||||||
# Verify the device has access to the direct path
|
# Verify the device has access to the direct path
|
||||||
if pathexists:
|
if pathexists:
|
||||||
# Local or Network path
|
# Local or Network path
|
||||||
|
|
Loading…
Reference in a new issue