From 6d91e23c6143b755068f4ac422d95c1f945481a2 Mon Sep 17 00:00:00 2001 From: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com> Date: Wed, 2 Oct 2024 13:50:22 -0700 Subject: [PATCH] fix: use consistent version strings for Keyshot Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com> --- src/deadline/keyshot_adaptor/KeyShotClient/keyshot_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deadline/keyshot_adaptor/KeyShotClient/keyshot_client.py b/src/deadline/keyshot_adaptor/KeyShotClient/keyshot_client.py index 341d873..9ebe426 100644 --- a/src/deadline/keyshot_adaptor/KeyShotClient/keyshot_client.py +++ b/src/deadline/keyshot_adaptor/KeyShotClient/keyshot_client.py @@ -43,8 +43,8 @@ class KeyShotClient(ClientInterface): def __init__(self, server_path: str) -> None: super().__init__(server_path=server_path) - version_str: str = ".".join(str(v) for v in lux.getKeyShotVersion()[:3]) - print(f"KeyShotClient: KeyShot Version {version_str}") + major_version, minor_version = lux.getKeyShotDisplayVersion() + print(f"KeyShotClient: KeyShot Version {major_version}.{minor_version}") self.actions.update(KeyShotHandler().action_dict) def close(self, args: Optional[dict] = None) -> None: