Skip to content
Snippets Groups Projects
Commit 014365fa authored by Timothe Jost's avatar Timothe Jost
Browse files

updated error on broker_conf in dynaconf

parent abe293cc
No related branches found
Tags v0.2.69
No related merge requests found
Pipeline #127174 passed
__version__ = "0.0.33"
__version__ = "0.0.34"
from . import loggs
from .pipes import *
......
......@@ -309,7 +309,7 @@ def create_celery_app(conf_path, app_name="pypelines", v_host=None) -> "Celery":
address = settings.address
backend = settings.connexion.backend
conf_data = settings.conf
v_host = settings.virtual_host if v_host is None else v_host
v_host = settings.broker_conf.virtual_host if v_host is None else v_host
except (AttributeError, KeyError) as e:
logger.warning(f"{failure_message} {e}")
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment