Skip to content

Commit

Permalink
Merge pull request #46 from ynput/v0.1.0-alpha
Browse files Browse the repository at this point in the history
Update ayon bin client bridge version to v0.1.0 tag
  • Loading branch information
Lypsolon authored Sep 16, 2024
2 parents 3e8e0b7 + 0ec344d commit a6d604e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/ayon_usd/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def tray_start(self):
controller,
close_on_finish=True,
auto_close_timeout=1,
delet_progress_bar_on_finish=False,
delete_progress_bar_on_finish=False,
title="ayon_usd-Addon [UsdLib Download]",
)
download_ui.setStyleSheet(style.load_stylesheet())
Expand Down
6 changes: 4 additions & 2 deletions client/ayon_usd/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ def _get_lakefs_repo_items(lake_fs_repo: str) -> list:
def get_lakefs_usdlib_name(lake_fs_repo: str) -> str:
"""Return AyonUsdBin/usd LakeFS repo object name for current platform."""
platform_name = platform.system().lower()
for item in _get_lakefs_repo_items(lake_fs_repo):
lake_fs_repo_items = _get_lakefs_repo_items(lake_fs_repo)
for item in lake_fs_repo_items:
if "AyonUsdBin/usd" in item and platform_name in item:
return item

raise RuntimeError(
"No AyonUsdBin/usd item found for current platform "
f"'{platform_name}' on LakeFS server: {lake_fs_repo}")
f"'{platform_name}' on LakeFS server: {lake_fs_repo}. "
f"All LakeFS repository items found: {lake_fs_repo_items}")


def get_lakefs_usdlib_path(settings: dict) -> str:
Expand Down
2 changes: 1 addition & 1 deletion client/ayon_usd/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
"""Package declaring AYON addon 'ayon_usd' version."""
__version__ = "0.1.0-alpha-dev.1"
__version__ = "0.1.0-alpha"

0 comments on commit a6d604e

Please sign in to comment.