Skip to content

Commit

Permalink
bugfix: python subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
Sep0lkit committed Sep 14, 2019
1 parent ef862ec commit 1b25439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-issues-blog.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
dictionary = json.load(f)
lastcommit = dictionary['__commit__']
command = "git diff --name-only -z " + lastcommit
changed = subprocess.check_output(command)
changed = subprocess.check_output(['git', 'diff', '--name-only', '-z', lastcommit])
for x in changed.split(b'\x00'):
if x.decode('utf-8'):
CHANGED.append(x.decode('utf-8'))
Expand Down

0 comments on commit 1b25439

Please sign in to comment.