Explorar o código

Fix byte/str typing error

Signed-off-by: Sander Maijers <[email protected]>
Sander Maijers %!s(int64=9) %!d(string=hai) anos
pai
achega
61324ef308
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compose/cli/utils.py

+ 1 - 1
compose/cli/utils.py

@@ -49,7 +49,7 @@ def input(prompt):
     """
     sys.stdout.write(prompt)
     sys.stdout.flush()
-    return sys.stdin.readline().rstrip(b'\n')
+    return sys.stdin.readline().rstrip('\n')
 
 
 def call_silently(*args, **kwargs):