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 | 6e238537595124d123b3e11ea883677a16010597 (patch) | |
tree | 354e496a58a19ac4fefb49c7012ae85b5404de99 /flatpages/views.py | |
parent | becfaa15044a4a8a615f8d351471f2b832008e5e (diff) | |
parent | 77a6015ad641b3824c6943a0d6d52f6aded7e0a5 (diff) | |
download | troggle-6e238537595124d123b3e11ea883677a16010597.tar.gz troggle-6e238537595124d123b3e11ea883677a16010597.tar.bz2 troggle-6e238537595124d123b3e11ea883677a16010597.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): |