Follow up for unicode

This commit is contained in:
angelblue05 2015-05-10 08:07:06 -05:00
parent df665343c5
commit 684167a031

View file

@ -311,7 +311,7 @@ class PlayUtils():
path = result[u'Path']
# Verify the device has access to the direct path
if os.path.exists(path) == True:
if os.path.exists(path.encode('utf-8')) == True:
return True
elif ":\\" not in path:
# Give benefit of the doubt for nfs protocol