Pārlūkot izejas kodu

Forgot 'self'

tags/v0.1^2
Ben Kurtovic pirms 12 gadiem
vecāks
revīzija
726f184227
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      earwigbot/irc/connection.py

+ 1
- 1
earwigbot/irc/connection.py Parādīt failu

@@ -95,7 +95,7 @@ class IRCConnection(object):
if not hidelog: if not hidelog:
self.logger.debug(msg) self.logger.debug(msg)


def _split(msgs, maxlen, maxsplits=3):
def _split(self, msgs, maxlen, maxsplits=3):
"""Split a large message into multiple messages smaller than maxlen.""" """Split a large message into multiple messages smaller than maxlen."""
words = msgs.split(" ") words = msgs.split(" ")
splits = 0 splits = 0


Notiek ielāde…
Atcelt
Saglabāt