fix typo in string format

This commit is contained in:
Job Evers-Meltzer 2016-09-25 14:41:44 -07:00
parent 6803bfae99
commit 5ea7c4f016

View file

@ -1175,7 +1175,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
force_refresh: if True, always go out to the blockchain to resolve.
"""
if name.startswith('lbry://'):
raise ValueError('name %s should not start with lbry://')
raise ValueError('name {} should not start with lbry://'.format(name))
helper = _ResolveNameHelper(self, name, force_refresh)
return helper.get_deferred()