From 6e1dc647dd712906cc401abebf187c9d842f2e8c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 23 Sep 2004 16:18:41 +0000 Subject: [PATCH] Better filenames for FunDB databases. --- plugins/FunDB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/FunDB.py b/plugins/FunDB.py index d902a5a34..75e62f9ff 100755 --- a/plugins/FunDB.py +++ b/plugins/FunDB.py @@ -77,7 +77,7 @@ class DbiFunDBDB(object): if channel not in self.dbs: self.dbs[channel] = {} if type not in self.dbs[channel]: - filename = self.filename.replace('db', '%s.db' % type.capitalize()) + filename = self.filename.replace('FunDB', type.capitalize()) filename = plugins.makeChannelFilename(filename, channel) self.dbs[channel][type] = self.FunDBDB(filename) return self.dbs[channel][type]