neater force param in resolve_name
This commit is contained in:
parent
7f5560de6d
commit
e4ebbd8f69
1 changed files with 1 additions and 4 deletions
|
@ -1680,10 +1680,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
|||
metadata from name claim
|
||||
"""
|
||||
|
||||
if 'force' in p:
|
||||
force = p['force']
|
||||
else:
|
||||
force = False
|
||||
force = p.get('force', False)
|
||||
|
||||
if 'name' in p:
|
||||
name = p['name']
|
||||
|
|
Loading…
Add table
Reference in a new issue