summaryrefslogtreecommitdiff
path: root/backend/endpoints
diff options
context:
space:
mode:
Diffstat (limited to 'backend/endpoints')
-rw-r--r--backend/endpoints/__pycache__/get_plist.cpython-39.pycbin1814 -> 1816 bytes
-rw-r--r--backend/endpoints/get_plist.py4
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/endpoints/__pycache__/get_plist.cpython-39.pyc b/backend/endpoints/__pycache__/get_plist.cpython-39.pyc
index 5410abf..892892d 100644
--- a/backend/endpoints/__pycache__/get_plist.cpython-39.pyc
+++ b/backend/endpoints/__pycache__/get_plist.cpython-39.pyc
Binary files differ
diff --git a/backend/endpoints/get_plist.py b/backend/endpoints/get_plist.py
index 1fda2d5..07d7b3a 100644
--- a/backend/endpoints/get_plist.py
+++ b/backend/endpoints/get_plist.py
@@ -9,8 +9,6 @@ from config import Config
class Get_Plist:
output = dict()
- output["docsets"] = []
-
def find_plist(path):
with os.scandir(path) as it:
@@ -46,6 +44,8 @@ class Get_Plist:
def main():
+ Get_Plist.output["docsets"] = []
+
if not os.path.isdir(Config.docset_base):
e = "Invalid DOCSET_BASE \"" + Config.docset_base + "\""
logging.error(e);