Skip to content

Commit 1b25439

Browse files
committed
bugfix: python subprocess
1 parent ef862ec commit 1b25439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-issues-blog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
dictionary = json.load(f)
4040
lastcommit = dictionary['__commit__']
4141
command = "git diff --name-only -z " + lastcommit
42-
changed = subprocess.check_output(command)
42+
changed = subprocess.check_output(['git', 'diff', '--name-only', '-z', lastcommit])
4343
for x in changed.split(b'\x00'):
4444
if x.decode('utf-8'):
4545
CHANGED.append(x.decode('utf-8'))

0 commit comments

Comments
 (0)