mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-20 23:50:31 +01:00
little changes (comment/todo)
This commit is contained in:
parent
bf7fdc189e
commit
b23cc40e4a
|
|
@ -36,7 +36,7 @@ class PluginManager:
|
|||
self._config = Config()
|
||||
self._pluginList = []
|
||||
|
||||
def getPluginList(self):
|
||||
def searchPluginDir(self):
|
||||
logging.debug("search for plugins in: %s", paths.PLUGIN_PATH)
|
||||
for name in os.listdir(paths.PLUGIN_PATH):
|
||||
location = os.path.join(paths.PLUGIN_PATH, name)
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ import sys
|
|||
|
||||
logging.debug("- %s loaded", __name__)
|
||||
|
||||
# todo searching for root part is not a nice solution atm
|
||||
ROOT_PATH = os.path.dirname(sys.modules['boswatch'].__file__).replace("\\", "/") + "/../"
|
||||
LOG_PATH = ROOT_PATH + "log/"
|
||||
CONFIG_PATH = ROOT_PATH + "config/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue