Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
Fix for django 1.11 makemessages
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed May 29, 2017
1 parent 960b43b commit 87c3fee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
- DJANGO_VERSION=1.8.16
- DJANGO_VERSION=1.9.11
- DJANGO_VERSION=1.10.3
- DJANGO_VERSION=1.11rc1
- DJANGO_VERSION=1.11.1
matrix:
exclude:
- python: "3.5"
Expand Down
2 changes: 1 addition & 1 deletion hamlpy/template/templatize.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


def patch_templatize(func):
def templatize(src, origin=None):
def templatize(src, origin=None, charset='utf-8'):
# if the template has no origin then don't attempt to convert it because we don't know if it's Haml
if origin:
extension = os.path.splitext(origin)[1][1:].lower()
Expand Down

0 comments on commit 87c3fee

Please sign in to comment.