diff --git a/actions/Countdown/Countdown.py b/actions/Countdown/Countdown.py index 80fb0db..5458430 100644 --- a/actions/Countdown/Countdown.py +++ b/actions/Countdown/Countdown.py @@ -70,6 +70,9 @@ def show(self) -> None: self.finish_command_executed = True def run_command(self, command): + if command is None: + return + command = command.strip() if command in [None, ""]: @@ -162,4 +165,4 @@ def on_time_row_changed(self, *args) -> None: def on_command_change(self, *args) -> None: settings = self.get_settings() settings["command"] = self.command_row.get_text() - self.set_settings(settings) \ No newline at end of file + self.set_settings(settings)