Skip to content

Commit

Permalink
Merge pull request #67 from DewGew/DewGew-patch-1
Browse files Browse the repository at this point in the history
Update helpers.py
  • Loading branch information
DewGew authored Dec 8, 2023
2 parents 92859f5 + f05d4a3 commit d930c15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d930c15

Please sign in to comment.