Update httpie/uploads.py

This commit is contained in:
Jakub Roztocil 2022-03-03 08:22:17 -08:00 committed by Batuhan Taskaya
parent b0f5b8ab26
commit 5c98253377

View File

@ -94,7 +94,7 @@ def is_stdin(file: IO) -> bool:
return file_no == sys.stdin.fileno() return file_no == sys.stdin.fileno()
READ_THRESHOLD = float(os.getenv("HTTPIE_STDIN_READ_WARN_THRESHOLD", 10.0)) READ_THRESHOLD = float(os.getenv('HTTPIE_STDIN_READ_WARN_THRESHOLD', 10.0))
def observe_stdin_for_data_thread(env: Environment, file: IO, read_event: threading.Event) -> None: def observe_stdin_for_data_thread(env: Environment, file: IO, read_event: threading.Event) -> None: