feat: only rstrip newlines in read files

This commit is contained in:
2025-12-06 06:55:39 +01:00
parent 00000120e2
commit 000001301f

View File

@@ -54,7 +54,7 @@ def get(
path.parent.mkdir(parents=True, exist_ok=True) path.parent.mkdir(parents=True, exist_ok=True)
with open(path) as f: with open(path) as f:
return f.read().strip() return f.read().rstrip("\n")
def get_or_download( def get_or_download(