From ea592423708564d56ac01a741638141672058446 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 8 Oct 2025 10:09:57 +0200 Subject: [PATCH] Fixed decoding files to return strings instead of bytes --- src/secret_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/secret_handler.py b/src/secret_handler.py index 921f45c..724a972 100644 --- a/src/secret_handler.py +++ b/src/secret_handler.py @@ -1,3 +1,3 @@ def return_credentials(path: str)->str: with open (path) as file: - return file.read() \ No newline at end of file + return file.read().strip() \ No newline at end of file