Skip to content

Commit 38cbc3d

Browse files
author
arch
committed
strip
1 parent 794ae49 commit 38cbc3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/Installer/mtfg-ofs-extension-installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def get_download_urls():
5656
def is_latest_version_installed(version_file, version):
5757
if os.path.exists(version_file):
5858
with open(version_file, 'r') as f:
59-
if str(f.read()).lower() == "v"+str(version):
59+
if str(f.read()).strip().lower() == "v"+str(version):
6060
print("You have already the latest version installed")
6161
sys.exit()
6262

0 commit comments

Comments
 (0)