added FDA key .env (temporarily) and plugin loader catch block

This commit is contained in:
vabene1111
2023-05-22 17:47:13 +02:00
parent 3c3ecc5342
commit b095bee229
2 changed files with 6 additions and 1 deletions

View File

@ -61,7 +61,10 @@ router.register(r'access-token', api.AccessTokenViewSet)
for p in PLUGINS:
if c := locate(f'{p["module"]}.urls.{p["api_router_name"]}'):
router.extend(c)
try:
router.extend(c)
except AttributeError:
pass
urlpatterns = [
path('', views.index, name='index'),