mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
user clockify sync action create ClockifyApi object on initialization
This commit is contained in:
parent
9eb8602491
commit
f73dc451be
1 changed files with 4 additions and 2 deletions
|
|
@ -17,8 +17,10 @@ class SyncClocifyLocal(BaseAction):
|
|||
#: icon
|
||||
icon = statics_icon("app_icons", "clockify-white.png")
|
||||
|
||||
#: CLockifyApi
|
||||
clockapi = ClockifyAPI()
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(SyncClocifyLocal, self).__init__(*args, **kwargs)
|
||||
#: CLockifyApi
|
||||
self.clockapi = ClockifyAPI()
|
||||
|
||||
def discover(self, session, entities, event):
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue