summaryrefslogtreecommitdiffstats
path: root/modules/tell.py
diff options
context:
space:
mode:
authorSean B. Palmer <http://inamidst.com/sbp/>2008-03-10 19:58:28 +0000
committerSean B. Palmer <http://inamidst.com/sbp/>2008-03-10 19:58:28 +0000
commitfb2cd452e963b8bc048161036903cd82d3b113f0 (patch)
tree81182d25fc19f538292b52a9e7c697447d5e6548 /modules/tell.py
parent5cad6661c9437832e23469aba2c9f04d94b734ee (diff)
downloadbot-fb2cd452e963b8bc048161036903cd82d3b113f0.tar.gz
bot-fb2cd452e963b8bc048161036903cd82d3b113f0.tar.bz2
bot-fb2cd452e963b8bc048161036903cd82d3b113f0.zip
Some documentation and minor fixes.
Diffstat (limited to 'modules/tell.py')
-rwxr-xr-xmodules/tell.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tell.py b/modules/tell.py
index e4af264..dc8ea46 100755
--- a/modules/tell.py
+++ b/modules/tell.py
@@ -40,7 +40,8 @@ def dumpReminders(fn, data):
for remindon in data[tellee]:
line = '\t'.join((tellee,) + remindon)
f.write(line + '\n')
- f.close()
+ try: f.close()
+ except IOError: pass
return True
def setup(self):