aboutsummaryrefslogtreecommitdiff
path: root/modules/coins.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-22 13:14:08 +0100
committerGravatar jesopo2018-10-22 13:14:08 +0100
commit77cf1a6afea9e7f13d1fdff35a6e9f3605e4ff7f (patch)
tree7fa3c5c490ccc1a19aa441179d91ba587cb79658 /modules/coins.py
parentTypo in help string in modules/coins.py, 'By' -> 'Buy' (diff)
signature
Dict are immutable, duh.
Diffstat (limited to 'modules/coins.py')
-rw-r--r--modules/coins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/coins.py b/modules/coins.py
index faf0cba7..fb96ea23 100644
--- a/modules/coins.py
+++ b/modules/coins.py
@@ -148,7 +148,7 @@ class Module(ModuleManager.BaseModule):
"Please provide a valid positive coin amount")
def _get_default_wallets(self, user):
- return user.get_setting("default-wallets", WALLET_DEFAULTS)
+ return user.get_setting("default-wallets", WALLET_DEFAULTS.copy())
def _set_default_wallet(self, user, type, wallet):
default_wallets = self._get_default_wallets(user)
default_wallets[type.lower()] = wallet.lower()