From 9584d94fd0beb2292287ed2288352e0367cfe218 Mon Sep 17 00:00:00 2001 From: HEnquist Date: Sat, 28 Sep 2024 10:00:26 +0200 Subject: [PATCH] Remove unwanted . --- backend/filemanagement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/filemanagement.py b/backend/filemanagement.py index 61c657b..f7be3d9 100644 --- a/backend/filemanagement.py +++ b/backend/filemanagement.py @@ -93,7 +93,7 @@ def list_of_files_in_directory(folder, file_stats=True, title_and_desc=False): desc = "This config file has a YAML syntax error." if hasattr(e, 'problem_mark'): mark = e.problem_mark - desc = f"This file has a YAML syntax error on line: {mark.line + 1}, column: {mark.column + 1}." + desc = f"This file has a YAML syntax error on line: {mark.line + 1}, column: {mark.column + 1}" except (AttributeError, UnicodeDecodeError): title = "(not a YAML file)" desc = "This does not appear to be a YAML file."