mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +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()
|
expected_version = get_expected_version()
|
||||||
|
|
||||||
# Request new build if is needed
|
# 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 (
|
if (
|
||||||
self._version_dialog is not None
|
self._version_dialog is not None
|
||||||
and self._version_dialog.isVisible()
|
and self._version_dialog.isVisible()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue