diff --git a/voussoirkit/pipeable.py b/voussoirkit/pipeable.py index 8d22afe..54a4ee1 100644 --- a/voussoirkit/pipeable.py +++ b/voussoirkit/pipeable.py @@ -119,6 +119,7 @@ def input( elif read_files and os.path.isfile(arg): lines = open(arg, 'r', encoding='utf-8') + lines = (line.rstrip('\r\n') for line in lines) else: lines = arg.splitlines()