We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588e61d commit c397109Copy full SHA for c397109
runjinja.py
@@ -15,5 +15,5 @@
15
16
extra_vars = dict(len=len)
17
input = sys.stdin.read()
18
-sys.stdout.write('/* DO NOT EDIT. md5sum of source: %s */' % hashlib.md5(input).hexdigest())
+sys.stdout.write('/* DO NOT EDIT. md5sum of source: %s */' % hashlib.md5(input.encode()).hexdigest())
19
sys.stdout.write(env.from_string(input).render(**extra_vars))
0 commit comments