aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-12-22 00:49:00 +0000
committerGravatar jesopo2018-12-22 00:49:00 +0000
commit44d2455766970dcf438222ca60145f45027bd7a8 (patch)
tree6bcbbe7691ffb6edce05d389c14175af4cd0405f /modules
parentAdd help and usage (badges.py) (diff)
signature
This regex should have been r"" (commands.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/commands.py2
1 files changed, 1 insertions, 1 deletions
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):