From 059799bb2d3ed2c42de77cbf6a453dff382b2309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 6 Jul 2016 09:49:40 +0200 Subject: Remove some unused things --- plugins/autocorrect.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/autocorrect.py') diff --git a/plugins/autocorrect.py b/plugins/autocorrect.py index 09e6bf44..32611483 100644 --- a/plugins/autocorrect.py +++ b/plugins/autocorrect.py @@ -74,8 +74,6 @@ class Plugin(BasePlugin): if typ == 's': try: - regex = re.compile(remove) - if replace_all: new_body = re.sub(remove, put, body) else: -- cgit v1.2.3