Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Nov 22, 2023
1 parent d4874a2 commit 3abcac6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/radical/utils/configs/utils_default.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"log_lvl" : "${RADICAL_DEFAULT_LOG_LVL:ERROR}",
"log_tgt" : "${RADICAL_DEFAULT_LOG_TGT:.}",
"log_dir" : "${RADICAL_DEFAULT_LOG_DIR:$PWD}",
"report" : "${RADICAL_DEFAULT_REPORT:True}",
"report" : "${RADICAL_DEFAULT_REPORT:TRUE}",
"report_tgt" : "${RADICAL_DEFAULT_REPORT_TGT:stderr}",
"report_dir" : "${RADICAL_DEFAULT_REPORT_DIR:$PWD}",
"profile" : "${RADICAL_DEFAULT_PROFILE:TRUE}",
Expand Down
2 changes: 1 addition & 1 deletion src/radical/utils/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __init__(self, name, ns=None, path=None, targets=None, enabled=None):
if ru_get_env_ns('report', ns) is not None:
self._enabled = str(ru_get_env_ns('report', ns)).lower()

if self._enabled in ['0', 'false', 'off', False, None]:
if self._enabled in ['0', 'false', 'off', 'none']:
self._enabled = False
else:
self._enabled = True
Expand Down

0 comments on commit 3abcac6

Please sign in to comment.