Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/meeting.py
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-08-07 21:11:54 (GMT)
committer Richard Darst <rkd@zgib.net>2009-08-07 21:11:54 (GMT)
commit0c936f7cd88c5e001ffccf69271b6a877a82fa3d (patch)
treeefd26c43d33ea8f133588b63b81387c784c66d8a /meeting.py
parentea4677878eff93475fc1a3e73218f9ab6523c84e (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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meeting.py b/meeting.py
index a9a0bcf..cb5c8af 100644
--- a/meeting.py
+++ b/meeting.py
@@ -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