this is so black

This commit is contained in:
brandons209 2020-02-09 18:29:27 -05:00
parent 7d33b2703d
commit bba8dd73ed

View file

@ -58,7 +58,7 @@ def settings_converter(user_input: str) -> dict:
except AssertionError:
raise commands.BadArgument(f"{value} must be a non-negative integer value or `null`")
for value in ("fail_rate"):
for value in "fail_rate":
if value in args:
try:
assert args[value] >= 0
@ -66,7 +66,7 @@ def settings_converter(user_input: str) -> dict:
except AssertionError:
raise commands.BadArgument(f"{value} must be a decimal value between 0 and 1.")
for value in ("decay_rate"):
for value in "decay_rate":
if value in args:
try:
assert args[value] >= 0