Update extract_version.py

This commit is contained in:
SUPERustam 2021-04-08 09:56:01 +03:00 committed by GitHub
parent efbff95ec7
commit 5e35c2b6ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,4 +14,4 @@ with open(config_h, 'r') as fp:
if m:
data[m.group(1)] = int(m.group(2))
print('{}.{}.{}'.format(data['MAJOR'], data['MINOR'], data['PATCH']))
print(f"{data['MAJOR']}.{data['MINOR']}.{data['PATCH']}")