From ca4473c6201390a99a72d473c8f368b2b507d501 Mon Sep 17 00:00:00 2001 From: Amir Taaki Date: Wed, 29 Aug 2012 21:27:22 +0100 Subject: [PATCH] If wallet does not exist, then it does not even attempt to read the config (read returns on IOError exception). Ergo a new wallet will not ever set the theme name and it will stay as None. We change this to a sensible default so new wallets have a themed GUI. --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 95f7232c..18125891 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -290,7 +290,7 @@ class Wallet: self.num_zeros = 0 self.master_public_key = '' self.conversion_currency = None - self.theme = None + self.theme = "Cleanlook" # saved fields self.use_encryption = False