Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
add default settings for fiatCurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit HERVIER committed Apr 8, 2013
1 parent c1c0b99 commit aec9287
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bitpurse/settings.py
Expand Up @@ -49,6 +49,8 @@ def check_default_and_load(self):
self._write_default()
elif 'storepasskey' not in self.config.options('Security'):
self._write_default()
elif 'fiatcurrency' not in self.config.options('General'):
self.config.set('General','fiatCurrency', 'EUR')

def _write_default(self):
''' Write the default config'''
Expand Down

0 comments on commit aec9287

Please sign in to comment.