From 6c53e6c58f20deeb7c883feded0fcc35fb848f7a Mon Sep 17 00:00:00 2001 From: Alberto Sottile Date: Fri, 9 Mar 2018 00:43:32 +0100 Subject: [PATCH] Fixes a bug in which paths with non-ASCII characters prevented loading of the file properties --- syncplay/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/syncplay/client.py b/syncplay/client.py index e330843..99045db 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -1929,6 +1929,7 @@ class FileSwitchManager(object): return False def notifyUserIfFileNotInMediaDirectory(self, filenameToFind, path): + path = path.decode('utf-8') directoryToFind = os.path.dirname(path) if directoryToFind in self.mediaDirectoriesNotFound: return