Fix PlexServer.isBrowsable(path) when running Plex API on a different OS (#933)

This commit is contained in:
JonnyWong16 2022-05-16 19:58:52 -07:00 committed by GitHub
parent 6fc7d95266
commit b14a653a3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -393,7 +393,6 @@ class PlexServer(PlexObject):
"""
if isinstance(path, Path):
path = path.path
path = os.path.normpath(path)
paths = [p.path for p in self.browse(os.path.dirname(path), includeFiles=False)]
return path in paths