This regex should have been r"" (commands.py)

This commit is contained in:
jesopo 2018-12-22 00:49:00 +00:00
parent da42963e5c
commit 44d2455766

View file

@ -9,7 +9,7 @@ COMMAND_METHODS = ["PRIVMSG", "NOTICE"]
OUT_CUTOFF = 400 OUT_CUTOFF = 400
REGEX_CUTOFF = re.compile("^.{1,%d}(?:\s|$)" % OUT_CUTOFF) REGEX_CUTOFF = re.compile(r"^.{1,%d}(?:\s|$)" % OUT_CUTOFF)
class Out(object): class Out(object):
def __init__(self, server, module_name, target, msgid): def __init__(self, server, module_name, target, msgid):