neater force param in resolve_name

This commit is contained in:
Jack 2016-07-27 15:02:54 -04:00
parent 7f5560de6d
commit e4ebbd8f69

View file

@ -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']