diff options
| author | 2018-10-22 13:14:08 +0100 | |
|---|---|---|
| committer | 2018-10-22 13:14:08 +0100 | |
| commit | 77cf1a6afea9e7f13d1fdff35a6e9f3605e4ff7f (patch) | |
| tree | 7fa3c5c490ccc1a19aa441179d91ba587cb79658 /modules/coins.py | |
| parent | Typo 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.py | 2 |
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() |
