priority added directly to Class, removed register log

This commit is contained in:
Jakub Trllo 2019-01-21 18:52:10 +01:00
parent bef2f34d4a
commit f9db01775b

View file

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