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.

This commit is contained in:
Amir Taaki 2012-08-29 21:27:22 +01:00
parent 4c1bc14104
commit ca4473c620
1 changed files with 1 additions and 1 deletions

View File

@ -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