mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added backwards compatibility for 'is_compatible' method
This commit is contained in:
parent
8b94d746e5
commit
ad64c3a66e
1 changed files with 5 additions and 1 deletions
|
|
@ -333,7 +333,11 @@ class TrayManager:
|
|||
expected_version = get_expected_version()
|
||||
|
||||
# Request new build if is needed
|
||||
if not expected_version.is_compatible(installed_version):
|
||||
if (
|
||||
# Backwards compatibility
|
||||
not hasattr(expected_version, "is_compatible")
|
||||
or not expected_version.is_compatible(installed_version)
|
||||
):
|
||||
if (
|
||||
self._version_dialog is not None
|
||||
and self._version_dialog.isVisible()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue