summaryrefslogtreecommitdiff
path: root/plugins/autocorrect.py
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-07-06 09:49:40 +0200
committerlouiz’ <louiz@louiz.org>2016-07-06 09:52:19 +0200
commit059799bb2d3ed2c42de77cbf6a453dff382b2309 (patch)
tree0bbbba464b236dae8d23c198751f67955fde6fc5 /plugins/autocorrect.py
parente397f38b47ae16364bf4345e59ad8b6b0703aa5b (diff)
downloadpoezio-059799bb2d3ed2c42de77cbf6a453dff382b2309.tar.gz
poezio-059799bb2d3ed2c42de77cbf6a453dff382b2309.tar.bz2
poezio-059799bb2d3ed2c42de77cbf6a453dff382b2309.tar.xz
poezio-059799bb2d3ed2c42de77cbf6a453dff382b2309.zip
Remove some unused things
Diffstat (limited to 'plugins/autocorrect.py')
-rw-r--r--plugins/autocorrect.py2
1 files changed, 0 insertions, 2 deletions
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: