diff --git a/autoortho/__main__.py b/autoortho/__main__.py index 1429058b..b5b52245 100644 --- a/autoortho/__main__.py +++ b/autoortho/__main__.py @@ -22,7 +22,7 @@ def setuplogs(): maxBytes=10485760, backupCount=5 ), - logging.StreamHandler() + logging.StreamHandler() if sys.stdout is not None else logging.NullHandler() ] ) log = logging.getLogger(__name__)