From bef482c6804b31c9d2a714781b71a1e24f720577 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 5 Jun 2015 19:50:26 -0500 Subject: [PATCH] Changed back to encode Will review why it works under Windows, but not any other platform... :) --- 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 5d522676..8339500d 100644 --- a/resources/lib/PlayUtils.py +++ b/resources/lib/PlayUtils.py @@ -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