Skip to content

Commit

Permalink
Minor DeprecationWarning patch (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Sep 11, 2019
1 parent c0405d3 commit d30c76a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/httpd.py
Expand Up @@ -180,7 +180,7 @@ def do_GET(self):
if isinstance(content, six.text_type):
content = content.encode(UNICODE_ENCODING)

for match in re.finditer(b"<\!(\w+)\!>", content):
for match in re.finditer(b"<\\!(\\w+)\\!>", content):
name = match.group(1)
_ = getattr(self, "_%s" % name.lower(), None)
if _:
Expand Down
2 changes: 1 addition & 1 deletion core/settings.py
Expand Up @@ -21,7 +21,7 @@
from thirdparty.six.moves import urllib as _urllib

NAME = "Maltrail"
VERSION = "0.13.96"
VERSION = "0.13.97"
PLATFORM = os.name
IS_WIN = PLATFORM == "nt"
SERVER_HEADER = "%s/%s" % (NAME, VERSION)
Expand Down

0 comments on commit d30c76a

Please sign in to comment.