diff options
author | Rad <radost.waszkiewicz@gmail.com> | 2019-02-25 21:02:30 +0000 |
---|---|---|
committer | Rad <radost.waszkiewicz@gmail.com> | 2019-02-25 21:02:30 +0000 |
commit | 71d171985082403b69f920bfc1b6b1a091e73e11 (patch) | |
tree | 354e496a58a19ac4fefb49c7012ae85b5404de99 /flatpages/views.py | |
parent | 7c2d336bd7d8af6a68e5dcc66c8f13bd6e05dac8 (diff) | |
parent | bebbad24480f564a8c269f8e73dbeaef1747f080 (diff) | |
download | troggle-71d171985082403b69f920bfc1b6b1a091e73e11.tar.gz troggle-71d171985082403b69f920bfc1b6b1a091e73e11.tar.bz2 troggle-71d171985082403b69f920bfc1b6b1a091e73e11.zip |
merge
Diffstat (limited to 'flatpages/views.py')
-rw-r--r-- | flatpages/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flatpages/views.py b/flatpages/views.py index 672ec0c..8bc25ba 100644 --- a/flatpages/views.py +++ b/flatpages/views.py @@ -116,7 +116,7 @@ def editflatpage(request, path): if m: filefound = True preheader, headerargs, head, postheader, bodyargs, body, postbody = m.groups() - linksmatch = re.match('(.*)(<ul\s+id="links">.*)', body, re.DOTALL + re.IGNORECASE) + linksmatch = re.match(r'(.*)(<ul\s+id="links">.*)', body, re.DOTALL + re.IGNORECASE) if linksmatch: body, links = linksmatch.groups() if re.search(r"iso-8859-1", html): |