Skip to content

Commit 6849e52

Browse files
committed
FIX: Fix python client logging
1 parent a4f4b40 commit 6849e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databento/common/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _console_log_level() -> Optional[str]:
3030
def log_debug(msg: str) -> None:
3131
"""Log the given message with DEBUG level."""
3232
log_level = _console_log_level()
33-
if log_level == [_DEBUG, _INFO, _ERROR]:
33+
if log_level in [_DEBUG, _INFO, _ERROR]:
3434
print(f"DEBUG: {msg}", file=sys.stderr)
3535
logger.debug(msg)
3636

0 commit comments

Comments
 (0)