~tieong/notjinja2

8636bad7bcd36137cba8e64aa4dfcb0fcfdb7951 — Thomas Ieong 1 year, 7 months ago 1bccc0f
Removed useless condition
1 files changed, 1 insertions(+), 4 deletions(-)

M notjinja2.py
M notjinja2.py => notjinja2.py +1 -4
@@ 47,10 47,7 @@ class Template:
                        self.inside_loop = True
            elif token.startswith("{{"):
                item = str(self.do_dots(str(split_token[1]).replace("\n", "")))
                if self.inside_loop:
                    self.add_line("output += {}".format(item))
                else:
                    self.add_line("output += {}".format(item))
                self.add_line("output += {}".format(item))
            elif token.startswith("{#"):
                pass
            else: