Skip to content

Commit

Permalink
[config] Fix problem where configuration of just the modules or datab…
Browse files Browse the repository at this point in the history
…ase would not save
  • Loading branch information
embolalia committed Mar 2, 2013
1 parent 1a333cf commit dd51fed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions willie/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def _core(self):

def _db(self):
db.configure(self)
self.save()

def _modules(self):
home = os.getcwd()
Expand All @@ -279,6 +280,7 @@ def _modules(self):
else:
if hasattr(module, 'configure'):
module.configure(self)
self.save()


def wizard(section, config=None):
Expand Down

0 comments on commit dd51fed

Please sign in to comment.