converter: Reformat with Black 22.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-02-09 18:50:29 -08:00
parent 68128640bf
commit 113f9cb885

View file

@ -120,7 +120,7 @@ def get_bot_converter_response(message: Dict[str, str], bot_handler: BotHandler)
if base_unit == "bit": if base_unit == "bit":
number_res *= 1024 ** (exponent // 3) number_res *= 1024 ** (exponent // 3)
else: else:
number_res *= 10 ** exponent number_res *= 10**exponent
number_res = round_to(number_res, 7) number_res = round_to(number_res, 7)
results.append( results.append(