mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
sync to clockify is discovered only on project now
This commit is contained in:
parent
c5c1191d13
commit
39b10d1929
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@ class SyncClocify(BaseAction):
|
|||
|
||||
def discover(self, session, entities, event):
|
||||
''' Validation '''
|
||||
if len(entities) != 1:
|
||||
return False
|
||||
|
||||
if entities[0].entity_type.lower() != "project":
|
||||
return False
|
||||
return True
|
||||
|
||||
def launch(self, session, entities, event):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue