diff options
| author | 2018-12-22 00:49:00 +0000 | |
|---|---|---|
| committer | 2018-12-22 00:49:00 +0000 | |
| commit | 44d2455766970dcf438222ca60145f45027bd7a8 (patch) | |
| tree | 6bcbbe7691ffb6edce05d389c14175af4cd0405f /modules/commands.py | |
| parent | Add help and usage (badges.py) (diff) | |
| signature | ||
This regex should have been r"" (commands.py)
Diffstat (limited to 'modules/commands.py')
| -rw-r--r-- | modules/commands.py | 2 |
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): |
