diff --git a/Generic/Generic.py b/Generic/Generic.py index 9bd1440..987130f 100644 --- a/Generic/Generic.py +++ b/Generic/Generic.py @@ -10,12 +10,12 @@ from _Framework.DeviceComponent import DeviceComponent from _Framework.ControlSurfaceComponent import ControlSurfaceComponent from _Framework.SessionZoomingComponent import SessionZoomingComponent -from SpecialMixerComponent import SpecialMixerComponent -from SpecialTransportComponent import SpecialTransportComponent -from SpecialSessionComponent import SpecialSessionComponent -from SpecialZoomingComponent import SpecialZoomingComponent -from SpecialViewControllerComponent import DetailViewControllerComponent -from MIDI_Map import * +from .SpecialMixerComponent import SpecialMixerComponent +from .SpecialTransportComponent import SpecialTransportComponent +from .SpecialSessionComponent import SpecialSessionComponent +from .SpecialZoomingComponent import SpecialZoomingComponent +from .SpecialViewControllerComponent import DetailViewControllerComponent +from .MIDI_Map import * class Generic(ControlSurface): __doc__ = " Script for FCB1010 in APC emulation mode " diff --git a/Generic/SpecialMixerComponent.py b/Generic/SpecialMixerComponent.py index f3b1183..7472541 100644 --- a/Generic/SpecialMixerComponent.py +++ b/Generic/SpecialMixerComponent.py @@ -1,5 +1,5 @@ from _Framework.MixerComponent import MixerComponent -from SpecialChannelStripComponent import SpecialChannelStripComponent +from .SpecialChannelStripComponent import SpecialChannelStripComponent class SpecialMixerComponent(MixerComponent): ' Special mixer class that uses return tracks alongside midi and audio tracks ' __module__ = __name__ diff --git a/Generic/SpecialTransportComponent.py b/Generic/SpecialTransportComponent.py index 97b7c6a..998a4f4 100644 --- a/Generic/SpecialTransportComponent.py +++ b/Generic/SpecialTransportComponent.py @@ -4,8 +4,8 @@ from _Framework.EncoderElement import EncoderElement from _Framework.SubjectSlot import subject_slot -from MIDI_Map import TEMPO_TOP -from MIDI_Map import TEMPO_BOTTOM +from .MIDI_Map import TEMPO_TOP +from .MIDI_Map import TEMPO_BOTTOM class SpecialTransportComponent(TransportComponent): __doc__ = ' TransportComponent that only uses certain buttons if a shift button is pressed ' def __init__(self): diff --git a/Generic/__init__.py b/Generic/__init__.py index 17cec7b..845ff38 100644 --- a/Generic/__init__.py +++ b/Generic/__init__.py @@ -1,5 +1,5 @@ import Live -from Generic import Generic +from .Generic import Generic def create_instance(c_instance): ' Creates and returns the APC20 script '