From 8fe0913fdaeab5ff29be4881471b785ca68ff24e Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Fri, 8 May 2026 19:59:42 +0200 Subject: [PATCH] BLACK --- basicswap/js_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basicswap/js_server.py b/basicswap/js_server.py index 2f6c858..495dc16 100644 --- a/basicswap/js_server.py +++ b/basicswap/js_server.py @@ -200,9 +200,9 @@ def js_walletbalances(self, url_split, post_string, is_json) -> bytes: if field in w: raw = w[field] if isinstance(raw, float): - coin_entry[field] = ( - f"{raw:.8f}".rstrip("0").rstrip(".") - ) + coin_entry[field] = f"{raw:.8f}".rstrip( + "0" + ).rstrip(".") elif isinstance(raw, int): coin_entry[field] = str(raw) else: