summaryrefslogtreecommitdiff
path: root/backend/endpoints/get_plist.py
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-04-03 20:04:52 -0700
committerLouie S <louie@example.com>2023-04-03 20:04:52 -0700
commitd8c68fe9cc59f667478bb763cf690d8f771afa59 (patch)
treedaab2a55b7b5e77fd138e1913ff7db6dd553f5e9 /backend/endpoints/get_plist.py
parente45d210517ae56abfec61ce1a8db1fc6ed7c4b4b (diff)
Fix refresh issue
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);