From ff89c1d8e498c9b3bb1b62f45c827c091da11a28 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 23 Jun 2019 07:36:21 +0530 Subject: [PATCH] oops --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 71ae55fb6..2249e3e55 100755 --- a/setup.py +++ b/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()))