use .format() instead of string concatenation
This commit is contained in:
parent
95436b233c
commit
677ba25ccd
1 changed files with 3 additions and 1 deletions
|
@ -134,7 +134,9 @@ def main(argv=None):
|
|||
return 0
|
||||
|
||||
elif method in ['version', '--version', '-v']:
|
||||
print(lbrynet_name + " " + get_platform(get_ip=False)["lbrynet_version"])
|
||||
print("{lbrynet_name} {lbrynet_version}".format(
|
||||
lbrynet_name=lbrynet_name, **get_platform(get_ip=False)
|
||||
))
|
||||
return 0
|
||||
|
||||
elif method == 'start':
|
||||
|
|
Loading…
Reference in a new issue