1
0
mirror of https://github.com/TandoorRecipes/recipes.git synced 2026-01-11 17:16:59 -05:00

re added path to plugin check

This commit is contained in:
vabene1111
2023-07-03 07:02:56 +02:00
parent dccfc436be
commit e9f8578c25

View File

@@ -132,7 +132,7 @@ PLUGINS_DIRECTORY = os.path.join(BASE_DIR, 'recipes', 'plugins')
PLUGINS = []
try:
if os.path.isdir(PLUGINS_DIRECTORY):
for d in os.listdir():
for d in os.listdir(PLUGINS_DIRECTORY):
if d != '__pycache__':
try:
apps_path = f'recipes.plugins.{d}.apps'