Removed unnecessary else clause in TemplateStrings.get_template().
@@ -35,11 +35,8 @@ class TemplateStrings(BaseEngine):
Origin(template_file, template_name, self),
'Source does not exist',
))
- continue
-
- return Template(template_code)
-
else:
+ return Template(template_code)
raise TemplateDoesNotExist(template_name, tried=tried, backend=self)
