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