From 44d2455766970dcf438222ca60145f45027bd7a8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 22 Dec 2018 00:49:00 +0000 Subject: [PATCH] This regex should have been r"" (commands.py) --- modules/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands.py b/modules/commands.py index 9e65a302..524c9ba2 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -9,7 +9,7 @@ COMMAND_METHODS = ["PRIVMSG", "NOTICE"] 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): def __init__(self, server, module_name, target, msgid):