summaryrefslogtreecommitdiff
path: root/backend/endpoints/get_plist.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/endpoints/get_plist.py')
-rw-r--r--backend/endpoints/get_plist.py4
1 files changed, 2 insertions, 2 deletions
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);