Skip to content

Commit

Permalink
fix: enable network debug output when setting UMU_LOG=1
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Nov 24, 2024
1 parent 3cbc1be commit e5ecf7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umu/umu_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def https_connection(host: str):

conn = HTTPSConnection(host, context=ssl_context)

if os.environ.get("UMU_LOG") == "debug":
if os.environ.get("UMU_LOG") in {"1", "debug"}:
conn.set_debuglevel(1)

try:
Expand Down

0 comments on commit e5ecf7e

Please sign in to comment.