@classmethod
def handle_add(cls, ops_obj, context):
    if (cls.__timer is None):
        cls.__timer = context.window_manager.event_timer_add(0.1, window=context.window)
        context.window_manager.modal_handler_add(ops_obj)
@classmethod
def handle_add(cls, ops_obj, context):
    if (cls.__timer is None):
        cls.__timer = context.window_manager.event_timer_add(0.1, window=context.window)
        context.window_manager.modal_handler_add(ops_obj)