diff options
author | Richard Darst <rkd@zgib.net> | 2009-08-07 21:11:54 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-08-07 21:11:54 (GMT) |
commit | 0c936f7cd88c5e001ffccf69271b6a877a82fa3d (patch) | |
tree | efd26c43d33ea8f133588b63b81387c784c66d8a /meeting.py | |
parent | ea4677878eff93475fc1a3e73218f9ab6523c84e (diff) |
Add a hook which is run each #save
- This ends the need for a personal local change... should have done
this long ago.
darcs-hash:20090807211154-82ea9-8b3e00919a311bdd706c3464f707346b02ef0b75.gz
Diffstat (limited to 'meeting.py')
-rw-r--r-- | meeting.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -191,6 +191,8 @@ class Config(object): text = self.enc(text) if isinstance(text, (str, unicode)): self.writeToFile(text, rawname+extension) + if hasattr(self, 'save_hook'): + self.save_hook() def writeToFile(self, string, filename): """Write a given string to a file""" # The reason we have this method just for this is to proxy |