fixed plugin error message
This commit is contained in:
parent
766ed31f8e
commit
1e85c8587b
@ -128,9 +128,11 @@ INSTALLED_APPS = [
|
||||
'treebeard',
|
||||
]
|
||||
|
||||
PLUGINS_DIRECTORY = os.path.join(BASE_DIR, 'recipes', 'plugins')
|
||||
PLUGINS = []
|
||||
try:
|
||||
for d in os.listdir(os.path.join(BASE_DIR, 'recipes', 'plugins')):
|
||||
if os.path.isdir(PLUGINS_DIRECTORY):
|
||||
for d in os.listdir():
|
||||
if d != '__pycache__':
|
||||
try:
|
||||
apps_path = f'recipes.plugins.{d}.apps'
|
||||
|
Loading…
Reference in New Issue
Block a user