mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix project check
This commit is contained in:
parent
80ce7dc738
commit
18a1a5d679
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ class ActionModel(QtGui.QStandardItemModel):
|
|||
|
||||
def discover(self):
|
||||
"""Set up Actions cache. Run this for each new project."""
|
||||
if io.Session.get("AVALON_PROJECT") is None:
|
||||
if not io.Session.get("AVALON_PROJECT"):
|
||||
self._registered_actions = list()
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue