Explorar el Código

Fix byte/str typing error

Signed-off-by: Sander Maijers <[email protected]>
Sander Maijers hace 9 años
padre
commit
61324ef308
Se han modificado 1 ficheros con 1 adiciones y 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):