From e4df36b5f3fc06c4fa3ba00c6902aba12b3ada64 Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr>
Date: Mon, 31 Jul 2023 10:40:30 +0200
Subject: [PATCH] About: Minor change.

---
 src/View/About/Window.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/View/About/Window.py b/src/View/About/Window.py
index a1784509..f4a98121 100644
--- a/src/View/About/Window.py
+++ b/src/View/About/Window.py
@@ -26,11 +26,11 @@ class AboutWindow(ASubWindow):
 
         # Version
         with open(self._path_file("VERSION"), "r") as f:
-            version = f.readline()
+            version = f.readline().strip()
             logger.info(f"version:  {version}")
 
             label = self.get_label_text("label_version")
-            label = label.replace("@version", version.strip())
+            label = label.replace("@version", version)
             self.set_label_text("label_version", label)
 
         # Authors
-- 
GitLab