correct arg name in sync_all_projects

This commit is contained in:
Michael 2023-05-03 12:38:42 +03:00 committed by GitHub
parent 0a3d206680
commit 6e9b6f6bef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,12 +149,10 @@ def sync_service(login, password, project):
Args:
login (str): Kitsu user login
password (str): Kitsu user password
projects (str): specific kitsu projects
project (str): specific kitsu projects
"""
from .utils.update_op_with_zou import sync_all_projects
from .utils.sync_service import start_listeners
projects = ' '.join(project)
sync_all_projects(login, password, specific_projects=projects)
sync_all_projects(login, password, filter_projects=project)
start_listeners(login, password)