From da0f4449eae020d7cd66775691ab446fb1b1dea7 Mon Sep 17 00:00:00 2001 From: Nix <75538775+nixietab@users.noreply.github.com> Date: Mon, 8 Dec 2025 15:47:15 -0300 Subject: [PATCH] Return None instead of error message when no output --- modulecli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modulecli.py b/modulecli.py index 621be87..6c2ce2f 100644 --- a/modulecli.py +++ b/modulecli.py @@ -42,5 +42,5 @@ def run_command(command="zucaro"): gc.collect() if not output: - return f"Error: No output from command. Stderr: {error}" - return output \ No newline at end of file + return None + return output