Another attempt at solving unicode

Attempt at solving this damn unicode..... For me, it works but I don't
know about anyone else.
This commit is contained in:
angelblue05 2015-05-17 04:47:08 -05:00
parent d0bee543a1
commit e50939aa53

View file

@ -313,7 +313,7 @@ class PlayUtils():
path = result[u'Path'] path = result[u'Path']
# Verify the device has access to the direct path # Verify the device has access to the direct path
if os.path.exists(unicode(path)) == True: if os.path.exists(path) == True:
# Local or Network path # Local or Network path
self.logMsg("Path exists.", 2) self.logMsg("Path exists.", 2)
return True return True