Skip to content

Commit

Permalink
fix: use consistent version strings for Keyshot (#121)
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crowe <[email protected]>
  • Loading branch information
crowecawcaw authored Oct 2, 2024
1 parent 45e97ba commit 7a60bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deadline/keyshot_adaptor/KeyShotClient/keyshot_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7a60bcb

Please sign in to comment.