mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-27 17:22:34 -04:00
Fix python invocation in git hooks
This commit is contained in:
@@ -14,6 +14,4 @@ os.chdir(base)
|
||||
action = [x.decode('utf-8') if isinstance(x, bytes) else x for x in sys.argv[1:]][0]
|
||||
|
||||
if action == 'rebase':
|
||||
subprocess.check_call(['python', 'setup.py', 'gui'])
|
||||
|
||||
|
||||
subprocess.check_call([sys.executable, 'setup.py', 'gui'])
|
||||
|
||||
Reference in New Issue
Block a user