fix project check

This commit is contained in:
iLLiCiTiT 2020-08-12 21:44:52 +02:00
parent 80ce7dc738
commit 18a1a5d679

View file

@ -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