Skip to content

Commit 01d49cd

Browse files
committed
Do not pass extra args to get_template
1 parent ae667c8 commit 01d49cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templated_docs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def find_template_file(template_name):
7070
load a template in memory, because we'll deal with it ourselves.
7171
"""
7272
for loader in _get_template_loaders():
73-
for origin in loader.get_template_sources(template_name, None):
73+
for origin in loader.get_template_sources(template_name):
7474
path = getattr(origin, 'name', origin) # Django <1.9 compatibility
7575
if os.path.exists(path):
7676
return path

0 commit comments

Comments
 (0)