remove trailing whitespace
This commit is contained in:
parent
b425895107
commit
9340c76361
|
@ -92,7 +92,7 @@ class Karma(Module):
|
||||||
conn.rollback()
|
conn.rollback()
|
||||||
print("sqlite error: " + str(e))
|
print("sqlite error: " + str(e))
|
||||||
raise
|
raise
|
||||||
|
|
||||||
def do(self, connection, event, nick, userhost, replypath, what, admin_unlocked):
|
def do(self, connection, event, nick, userhost, replypath, what, admin_unlocked):
|
||||||
"""look for karma strings at the start of messages"""
|
"""look for karma strings at the start of messages"""
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ class Karma(Module):
|
||||||
return self.handle_stat_query(connection, nick, userhost, replypath, what)
|
return self.handle_stat_query(connection, nick, userhost, replypath, what)
|
||||||
elif (self.reportre.search(what)):
|
elif (self.reportre.search(what)):
|
||||||
return self.handle_report_query(connection, nick, userhost, replypath, what)
|
return self.handle_report_query(connection, nick, userhost, replypath, what)
|
||||||
|
|
||||||
def handle_karma_change(self, connection, nick, userhost, replypath, what):
|
def handle_karma_change(self, connection, nick, userhost, replypath, what):
|
||||||
"""
|
"""
|
||||||
handle the karma change and storage.
|
handle the karma change and storage.
|
||||||
|
|
Loading…
Reference in New Issue