From ccc0219268a73091e5e05ac15c1e3e572a4ef92d Mon Sep 17 00:00:00 2001 From: foefl Date: Wed, 27 May 2026 15:31:57 +0200 Subject: [PATCH] prevent fails because of missing stdout or stderr --- src/wce_crm/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wce_crm/__init__.py b/src/wce_crm/__init__.py index 8b13789..f44e039 100644 --- a/src/wce_crm/__init__.py +++ b/src/wce_crm/__init__.py @@ -1 +1,6 @@ +import os +import sys +if sys.stdout is None or sys.stderr is None: + sys.stdout = open(os.devnull, "w") + sys.stderr = open(os.devnull, "w")