mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
priority added directly to Class, removed register log
This commit is contained in:
parent
bef2f34d4a
commit
f9db01775b
1 changed files with 3 additions and 1 deletions
|
|
@ -56,6 +56,8 @@ class SyncToAvalon(BaseAction):
|
|||
'https://cdn1.iconfinder.com/data/icons/hawcons/32/'
|
||||
'699650-icon-92-inbox-download-512.png'
|
||||
)
|
||||
#: Action priority
|
||||
priority = 200
|
||||
|
||||
def __init__(self, session):
|
||||
super(SyncToAvalon, self).__init__(session)
|
||||
|
|
@ -236,7 +238,7 @@ def register(session, **kw):
|
|||
return
|
||||
|
||||
action_handler = SyncToAvalon(session)
|
||||
action_handler.register(200)
|
||||
action_handler.register()
|
||||
|
||||
|
||||
def main(arguments=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue