Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion actions/Countdown/Countdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, ""]:
Expand Down Expand Up @@ -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)
self.set_settings(settings)