mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-03 11:09:15 +08:00
Merge pull request #1912 from SUPERustam/v1.x
Minor update, PEP8 format and f-string instead of format method
This commit is contained in:
commit
51fadf6b7e
@ -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