mirror of
https://github.com/nixietab/picodulce.git
synced 2025-12-10 00:28:43 +00:00
Return None instead of error message when no output
This commit is contained in:
parent
30e714ac30
commit
da0f4449ea
@ -42,5 +42,5 @@ def run_command(command="zucaro"):
|
||||
gc.collect()
|
||||
|
||||
if not output:
|
||||
return f"Error: No output from command. Stderr: {error}"
|
||||
return None
|
||||
return output
|
||||
Loading…
Reference in New Issue
Block a user