mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
handle situations when version can't be detected
This commit is contained in:
parent
aedfb53c4e
commit
a06b13604f
1 changed files with 4 additions and 0 deletions
|
|
@ -258,6 +258,10 @@ class TrayManager:
|
|||
|
||||
def validate_openpype_version(self):
|
||||
using_requested = is_current_version_studio_latest()
|
||||
# TODO Handle situations when version can't be detected
|
||||
if using_requested is None:
|
||||
using_requested = True
|
||||
|
||||
self._restart_action.setVisible(not using_requested)
|
||||
if using_requested:
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue