Specify env python explicitly.

This commit is contained in:
Artem Polishchuk 2019-03-30 19:56:52 +02:00
parent da00fa98f9
commit 9f0cfed600
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ def install(
before, rest = contents.split(TEMPLATE_START)
to_template, after = rest.split(TEMPLATE_END)
before = before.replace('#!/usr/bin/env python', shebang())
before = before.replace('#!/usr/bin/env python3', shebang())
hook_file.write(before + TEMPLATE_START)
for line in to_template.splitlines():