From 660140c0847d32a7c8112945594b1752fd793800 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 6 Jun 2024 16:01:59 +0200 Subject: [PATCH] rstrip --- cd/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cd/__init__.py b/cd/__init__.py index 7970a1a..befcf35 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -79,7 +79,7 @@ def browse(root: str): def cat(file: str): open(file) - print(fs.read_file_text(file)) + print(fs.read_file_text(file).rstrip()) shut(file)