From 25b7f98022e7ac3a9e85352713130ba1121a05bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20David?= Date: Thu, 23 Jun 2022 12:59:01 +0200 Subject: [PATCH] Renaming: Kitsu Plural func sync_all_projects --- openpype/modules/kitsu/kitsu_module.py | 4 ++-- openpype/modules/kitsu/utils/update_op_with_zou.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openpype/modules/kitsu/kitsu_module.py b/openpype/modules/kitsu/kitsu_module.py index 8e7ab6f78c..d19d14dda7 100644 --- a/openpype/modules/kitsu/kitsu_module.py +++ b/openpype/modules/kitsu/kitsu_module.py @@ -129,8 +129,8 @@ def sync_service(login, password): login (str): Kitsu user login password (str): Kitsu user password """ - from .utils.update_op_with_zou import sync_all_project + from .utils.update_op_with_zou import sync_all_projects from .utils.sync_service import start_listeners - sync_all_project(login, password) + sync_all_projects(login, password) start_listeners(login, password) diff --git a/openpype/modules/kitsu/utils/update_op_with_zou.py b/openpype/modules/kitsu/utils/update_op_with_zou.py index 08e50d959b..cd98c0d204 100644 --- a/openpype/modules/kitsu/utils/update_op_with_zou.py +++ b/openpype/modules/kitsu/utils/update_op_with_zou.py @@ -250,7 +250,7 @@ def write_project_to_op(project: dict, dbcon: AvalonMongoDB) -> UpdateOne: ) -def sync_all_project(login: str, password: str): +def sync_all_projects(login: str, password: str): """Update all OP projects in DB with Zou data. Args: