mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Update extract_version.py
This commit is contained in:
parent
efbff95ec7
commit
5e35c2b6ab
@ -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']}")
|
||||
|
Loading…
Reference in New Issue
Block a user