fix karma formatting
This commit is contained in:
parent
e453778791
commit
e557137f82
@ -14,15 +14,13 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from ConfigParser import NoOptionError
|
||||
|
||||
import re
|
||||
import shelve
|
||||
|
||||
from Module import Module
|
||||
|
||||
__author__="Mike Bloy <mike@bloy.org>"
|
||||
__date__ ="$Oct 23, 2010 11:12:33 AM$"
|
||||
__author__ = "Mike Bloy <mike@bloy.org>"
|
||||
__date__ = "$Oct 23, 2010 11:12:33 AM$"
|
||||
|
||||
class Karma(Module):
|
||||
|
||||
@ -34,8 +32,8 @@ class Karma(Module):
|
||||
Module.__init__(self, config, server, modlist)
|
||||
|
||||
filename = self.config.get(self.__class__.__name__, 'karmafile')
|
||||
self.karmafile=filename + "_karma.dat"
|
||||
self.trendfile=filename + "_trends.dat"
|
||||
self.karmafile = filename + "_karma.dat"
|
||||
self.trendfile = filename + "_trends.dat"
|
||||
|
||||
pattern = "^([a-zA-Z0-9_]+)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user