From 684167a0316a4ac08d2f6a6ab67c1965c598d072 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 10 May 2015 08:07:06 -0500 Subject: [PATCH] Follow up for unicode --- resources/lib/PlayUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/PlayUtils.py b/resources/lib/PlayUtils.py index 6c4baa67..24e986bb 100644 --- a/resources/lib/PlayUtils.py +++ b/resources/lib/PlayUtils.py @@ -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