From 961edec209f5451a543f74ea87f11f8204562626 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sat, 14 Nov 2026 12:15:09 +0000 Subject: [PATCH] Use group_int in ore_to_nok --- rates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rates.py b/rates.py index b3e4824..795377b 100644 --- a/rates.py +++ b/rates.py @@ -121,7 +121,7 @@ def ore_to_nok(ore): ore = int(ore) negative = ore < 0 ore = abs(ore) - text = "%s,%02d" % (_group(str(ore // ORE_PER_NOK)), ore % ORE_PER_NOK) + text = "%s,%02d" % (group_int(ore // ORE_PER_NOK), ore % ORE_PER_NOK) return "-" + text if negative else text