From e998099024103a9fe114f01c6658dda88e8bc593 Mon Sep 17 00:00:00 2001 From: George Mallard Date: Mon, 12 Feb 2024 05:20:39 -0600 Subject: [PATCH] Update utils.py to get_cli_input Line 192 Changed sys.stdin.readline().strip() to sys.stdin.read().strip() to allow multiple line input. --- client/fabric/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/fabric/utils.py b/client/fabric/utils.py index 349b0ab..9f0e522 100644 --- a/client/fabric/utils.py +++ b/client/fabric/utils.py @@ -189,7 +189,7 @@ class Standalone: system = platform.system() if system == 'Windows': if not sys.stdin.isatty(): # Check if input is being piped - return sys.stdin.readline().strip() # Read piped input + return sys.stdin.read().strip() # Read piped input else: return input("Enter Question: ") # Prompt user for input from console else: