mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
oops
This commit is contained in:
parent
96703c23c8
commit
ff89c1d8e4
2
setup.py
2
setup.py
@ -313,7 +313,7 @@ def get_vcs_rev_defines():
|
||||
rev = f.read()
|
||||
except NotADirectoryError:
|
||||
gitloc = open('.git').read()
|
||||
with open(os.path.join(gitloc, '/refs/heads/master')) as f:
|
||||
with open(os.path.join(gitloc, 'refs/heads/master')) as f:
|
||||
rev = f.read()
|
||||
|
||||
ans.append('KITTY_VCS_REV="{}"'.format(rev.strip()))
|
||||
|
Loading…
Reference in New Issue
Block a user