diff --git a/pype/modules/rest_api/__init__.py b/pype/modules/rest_api/__init__.py index fbeec00c88..55253bc58b 100644 --- a/pype/modules/rest_api/__init__.py +++ b/pype/modules/rest_api/__init__.py @@ -2,6 +2,8 @@ from .rest_api import RestApiServer from .base_class import RestApi, abort, route, register_statics from .lib import RestMethods, CallbackResult +CLASS_DEFINIION = RestApiServer + def tray_init(tray_widget, main_widget): return RestApiServer() diff --git a/pype/modules/timers_manager/__init__.py b/pype/modules/timers_manager/__init__.py index a6c4535f3d..a8a478d7ae 100644 --- a/pype/modules/timers_manager/__init__.py +++ b/pype/modules/timers_manager/__init__.py @@ -1,6 +1,8 @@ from .timers_manager import TimersManager from .widget_user_idle import WidgetUserIdle +CLASS_DEFINIION = TimersManager + def tray_init(tray_widget, main_widget): return TimersManager(tray_widget, main_widget)