Skip to content

Commit

Permalink
Fix jinja-cli to be compatible with py3
Browse files Browse the repository at this point in the history
  • Loading branch information
katyukha committed Jan 23, 2023
1 parent f40aa21 commit 3e43205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pylib/jinja-cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Based on:
Expand Down Expand Up @@ -125,7 +125,7 @@ def cli(opts, args):

output = ustr(output)

sys.stdout.write(output.encode('utf-8'))
sys.stdout.write(output)
return 0

# ------------
Expand Down

0 comments on commit 3e43205

Please sign in to comment.