Skip to content

Commit 055a59f

Browse files
committed
FIX: Run decode on bytes, not tuple
1 parent 1e5344e commit 055a59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def run(self):
6767
stdout=subprocess.PIPE,
6868
stderr=subprocess.PIPE,
6969
shell=True)
70-
repo_commit, _ = proc.communicate().decode()
70+
repo_commit = proc.communicate()[0].decode()
7171

7272
# We write the installation commit even if it's empty
7373
cfg_parser = configparser.RawConfigParser()

0 commit comments

Comments
 (0)