fixed pylint
This commit is contained in:
parent
559afa465a
commit
65e13898c2
1 changed files with 1 additions and 1 deletions
|
@ -3331,7 +3331,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
result = re.search(r'^(\d{1,10})\.(\d{1,8})$', amount)
|
result = re.search(r'^(\d{1,10})\.(\d{1,8})$', amount)
|
||||||
if result is not None:
|
if result is not None:
|
||||||
whole, fractional = result.groups()
|
whole, fractional = result.groups()
|
||||||
return int(whole+fractional.ljust(8,"0"))
|
return int(whole+fractional.ljust(8, "0"))
|
||||||
raise ValueError("Invalid value for '{}' argument: {}".format(argument, amount))
|
raise ValueError("Invalid value for '{}' argument: {}".format(argument, amount))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue