hotfix wrong imports

This commit is contained in:
Milan Kolar 2019-11-26 12:00:24 +01:00
parent 474e241e16
commit be161817f7
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
import ftrack_api
from pype.ftrack import BaseEvent, get_ca_mongoid
from pype.ftrack.events.event_sync_to_avalon import Sync_to_Avalon
from pype.ftrack.events.event_sync_to_avalon import SyncToAvalon
class DelAvalonIdFromNew(BaseEvent):
@ -11,7 +11,7 @@ class DelAvalonIdFromNew(BaseEvent):
Priority of this event must be less than SyncToAvalon event
'''
priority = Sync_to_Avalon.priority - 1
priority = SyncToAvalon.priority - 1
def launch(self, session, event):
created = []

View file

@ -1,5 +1,5 @@
import ftrack_api
from pype.ftrack import BaseEvent
from pype.ftrack.lib import BaseEvent
class RadioButtons(BaseEvent):
@ -37,4 +37,4 @@ class RadioButtons(BaseEvent):
def register(session, plugins_presets):
'''Register plugin. Called when used as an plugin.'''
Radio_buttons(session, plugins_presets).register()
RadioButtons(session, plugins_presets).register()