This commit is contained in:
angelblue05 2015-05-17 06:27:28 -05:00
parent 813af6bf84
commit e685c99b5a

View file

@ -313,11 +313,11 @@ class PlayUtils():
path = result[u'Path']
try:
path = os.path.exists(path)
pathexists = os.path.exists(path)
except UnicodeEncodeError:
path = os.path.exists(path.encode('utf-8'))
pathexists = os.path.exists(path.encode('utf-8'))
# Verify the device has access to the direct path
if path:
if pathexists:
# Local or Network path
self.logMsg("Path exists.", 2)
return True