mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Python 2 compat and cleaning
This commit is contained in:
parent
f6e271615a
commit
5db0c1dfa7
2 changed files with 2 additions and 7 deletions
|
|
@ -105,7 +105,7 @@ def cli_main():
|
|||
@click.option(
|
||||
"--password", envvar="KITSU_PWD", help="Password for kitsu username"
|
||||
)
|
||||
def push_to_zou(login: str, password: str):
|
||||
def push_to_zou(login, password):
|
||||
"""Synchronize Zou database (Kitsu backend) with openpype database.
|
||||
|
||||
Args:
|
||||
|
|
@ -122,7 +122,7 @@ def push_to_zou(login: str, password: str):
|
|||
@click.option(
|
||||
"-p", "--password", envvar="KITSU_PWD", help="Password for kitsu username"
|
||||
)
|
||||
def sync_service(login: str, password: str):
|
||||
def sync_service(login, password):
|
||||
"""Synchronize openpype database from Zou sever database.
|
||||
|
||||
Args:
|
||||
|
|
|
|||
|
|
@ -383,8 +383,3 @@ def start_listeners(login: str, password: str):
|
|||
# Connect to server
|
||||
listener = Listener(login, password)
|
||||
listener.start()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# TODO not sure when this can be run and if this system is reliable
|
||||
start_listeners(load_credentials())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue