From 9b2040e2803d5d37621498e28a140edc986e6c12 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 2 Nov 2018 13:09:09 +0000 Subject: [PATCH] Show wallet balances in a human format (with ","s) --- modules/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/coins.py b/modules/coins.py index cd4e8b27..a58df4d1 100644 --- a/modules/coins.py +++ b/modules/coins.py @@ -238,7 +238,7 @@ class Module(ModuleManager.BaseModule): (event["user"].nickname, wallet)) coins = self._get_user_coins(event["user"], wallet) event["stdout"].write("%s: you have %s coins in your '%s' wallet" % - (event["user"].nickname, self._coin_str(coins), wallet)) + (event["user"].nickname, self._coin_str_human(coins), wallet)) @utils.hook("received.command.addwallet", authenticated=True, min_args=1) def add_wallet(self, event):