There was an error while loading. Please reload this page.
1 parent 5f3d84f commit 2a01b1cCopy full SHA for 2a01b1c
1 file changed
src/pyscal/__init__.py
@@ -33,7 +33,7 @@ def getLogger_pyscal(
33
args_dict = {}
34
formatter = logging.Formatter("%(levelname)s:%(name)s:%(message)s")
35
36
- if args_dict.get("output", None) == "-":
+ if args_dict.get("output") == "-":
37
# If main output is to stdout, we must send all logs to stderr:
38
default_handler = logging.StreamHandler(sys.stderr)
39
default_handler.setFormatter(formatter)
0 commit comments