Changed back to encode

Will review why it works under Windows, but not any other platform... :)
This commit is contained in:
angelblue05 2015-06-05 19:50:26 -05:00
parent cdf78de132
commit bef482c680

View file

@ -318,7 +318,7 @@ class PlayUtils():
try:
pathexists = os.path.exists(path)
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
if pathexists:
# Local or Network path