@classmethod
    def apply_changes(cls, theme, msg, filters, ui_theme, command):
        """Update theme.  Set the theme, then get the next one in line."""

        debug_log(
            "apply_changes(\n    theme=%s\n    msg=%s,\n    filters=%s,\n    ui_theme=%s,\n    command=%s\n)" % (
                theme, msg, filters, ui_theme, command
            )
        )

        if cls.next_change is not None:
            cls.current_time = cls.next_change.time
        cls.current_theme = theme
        cls.current_ui_theme = ui_theme
        cls.current_msg = msg
        cls.current_filters = filters
        if filters is not None:
            if is_tweakable():
                debug_log("Using Theme Tweaker to adjust file!")
                sublime.run_command(
                    "theme_tweaker_custom",
                    {"theme": theme, "filters": filters}
                )
                if ui_theme is not None:
                    cls.set_theme(None, ui_theme)
            else:
                debug_log("ThemeTweaker is not installed :(")
                cls.set_theme(theme, ui_theme)
        else:
            cls.set_theme(theme, ui_theme)

        try:
            if command is not None:
                command.run()
        except Exception as e:
            log("Command %s failed!" % str(command))
            log(str(e) % "\n%s")

        if msg is not None and isinstance(msg, str):
            sublime.set_timeout(lambda m=msg: display_message(m), 3000)
dataset/ETHPy150Open facelessuser/ThemeScheduler/ThemeScheduler.py/ThemeScheduler.apply_changes/swapped operands of `%`