mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
move basicconfig to main
This commit is contained in:
parent
b1e0a92505
commit
54ecd2b834
1 changed files with 2 additions and 3 deletions
|
|
@ -24,9 +24,6 @@ from ayon_core.lib.env_tools import (
|
|||
merge_env_variables,
|
||||
)
|
||||
|
||||
logging.basicConfig()
|
||||
log = logging.getLogger()
|
||||
|
||||
|
||||
@click.group(invoke_without_command=True)
|
||||
@click.pass_context
|
||||
|
|
@ -310,6 +307,8 @@ def _add_addons(addons_manager):
|
|||
|
||||
|
||||
def main(*args, **kwargs):
|
||||
logging.basicConfig()
|
||||
|
||||
initialize_ayon_connection()
|
||||
python_path = os.getenv("PYTHONPATH", "")
|
||||
split_paths = python_path.split(os.pathsep)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue