From f05d4a3026375c039e0b82aaa70251469b26e5d0 Mon Sep 17 00:00:00 2001 From: DewGew Date: Fri, 8 Dec 2023 12:21:38 +0100 Subject: [PATCH] Update helpers.py --- modules/helpers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/helpers.py b/modules/helpers.py index fbfc4b5..fdea798 100644 --- a/modules/helpers.py +++ b/modules/helpers.py @@ -43,8 +43,9 @@ def getVersion(): if os.path.isfile(filename) and os.access(filename, os.R_OK): with open(filename, mode='r') as f: text = f.read() - - return text + text = text.split() + + return text[0] else: return None