diff --git a/resources/lib/path_ops.py b/resources/lib/path_ops.py index e799cb68..adf96e2c 100644 --- a/resources/lib/path_ops.py +++ b/resources/lib/path_ops.py @@ -56,7 +56,7 @@ def translate_path(path): def exists(path): """Returns True if the path [unicode] exists""" - return xbmcvfs.exists(path.encode(KODI_ENCODING, 'strict')) + return xbmcvfs.exists(path.encode(KODI_ENCODING, 'strict')) == 1 def rmtree(path, *args, **kwargs):