From 4743353d405cbb50adb4d40737d3947830fbadf4 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sat, 14 Nov 2026 17:55:34 +0000 Subject: [PATCH] Replace parse_btc_to_sats and ore_to_nok with whole-number variants --- rates.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rates.py b/rates.py index 795377b..92bf6ec 100644 --- a/rates.py +++ b/rates.py @@ -7,7 +7,9 @@ import database SATS_PER_BTC = 100_000_000 ORE_PER_NOK = 100 -SPACE = "\u00a0" +# Thousands separators the owner may type or paste: space, narrow space and +# non-breaking space. +THOUSANDS_SEPARATORS = (" ", "\u00a0", "\u202f") def year_end_date(tax_year):