Decode browse path

This commit is contained in:
JonnyWong16 2020-05-03 17:03:22 -07:00
parent b336f07ff9
commit 209008e50d
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -3845,7 +3845,7 @@ class WebInterface(object):
@requireAuth(member_of("admin"))
def browse_path(self, key=None, path=None, filter_ext=''):
if key:
path = base64.b64decode(key)
path = base64.b64decode(key).decode('UTF-8')
if not path:
path = plexpy.DATA_DIR