From 3eb8ee53c88463404508897bfd303c965dae608f Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 5 Jul 2022 11:34:27 +0800 Subject: [PATCH] Update plugins_api.py --- class/core/plugins_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/core/plugins_api.py b/class/core/plugins_api.py index 6064c437d..4be268ea0 100755 --- a/class/core/plugins_api.py +++ b/class/core/plugins_api.py @@ -44,8 +44,8 @@ class plugins_api: def __init__(self): self.setupPath = 'server' self.__plugin_dir = mw.getRunDir() + '/plugins' - self.__type = mw.getRunDir() + 'data/json/type.json' - self.__index = mw.getRunDir() + 'data/json/index.json' + self.__type = mw.getRunDir() + '/data/json/type.json' + self.__index = mw.getRunDir() + '/data/json/index.json' ##### ----- start ----- ### def listApi(self):