Fix byte/str typing error

Signed-off-by: Sander Maijers <S.N.Maijers@gmail.com>
This commit is contained in:
Sander Maijers 2016-06-10 16:30:46 +02:00
parent e502417df2
commit 61324ef308
No known key found for this signature in database
GPG Key ID: 2E974A73F1B0F2F7
1 changed files with 1 additions and 1 deletions

View File

@ -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):