diff --git a/data/interfaces/default/app_import.html b/data/interfaces/default/app_import.html index ab7ef27b..a96009a7 100644 --- a/data/interfaces/default/app_import.html +++ b/data/interfaces/default/app_import.html @@ -40,7 +40,7 @@
- +
@@ -114,10 +114,6 @@
diff --git a/plexpy/helpers.py b/plexpy/helpers.py index b6d7ba1a..07785582 100644 --- a/plexpy/helpers.py +++ b/plexpy/helpers.py @@ -1232,6 +1232,9 @@ def browse_path(path=None, include_hidden=False, filter_ext=''): } output.append(out) + if os.path.isfile(path): + path = os.path.dirname(path) + if not os.path.isdir(path): return output