We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794ae49 commit 38cbc3dCopy full SHA for 38cbc3d
contrib/Installer/mtfg-ofs-extension-installer.py
@@ -56,7 +56,7 @@ def get_download_urls():
56
def is_latest_version_installed(version_file, version):
57
if os.path.exists(version_file):
58
with open(version_file, 'r') as f:
59
- if str(f.read()).lower() == "v"+str(version):
+ if str(f.read()).strip().lower() == "v"+str(version):
60
print("You have already the latest version installed")
61
sys.exit()
62
0 commit comments