From 7622bd33760039a52c14122a9f8b8376accf7c93 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Wed, 2 Jan 2013 19:48:06 +0100 Subject: [PATCH] fix filename of seen.db files --- modules/seen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/seen.py b/modules/seen.py index 57b1daf..e4dabbe 100644 --- a/modules/seen.py +++ b/modules/seen.py @@ -29,7 +29,7 @@ f_seen.rule = (['seen'], r'(\S+)') def f_note(self, origin, match, args): def note(self, origin, match, args): if not hasattr(self.bot, 'seen'): - fn = self.nick + '-' + self.config.host + '.seen.db' + fn = self.nick + '-' + self.config.host + '.seen' path = os.path.join(os.path.expanduser('~/.phenny'), fn) self.bot.seen = shelve.open(path) if origin.sender.startswith('#'):