改为绝对路径

pull/119/head
midoks 3 years ago
parent b07a1c9bac
commit c24e0604ac
  1. 3
      class/core/plugins_api.py

@ -43,6 +43,9 @@ 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'
##### ----- start ----- ###
def listApi(self):

Loading…
Cancel
Save