Skip to content

Commit 2aeb4f5

Browse files
Byron Boultondaytonb
authored andcommitted
Bugfix for /issues/126: Python3 webdiff github pull request
When I added Python3 support in the past, I didn't test this feature as it isn't part of my workflow.
1 parent 0d90e5d commit 2aeb4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webdiff/github_fetcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,6 @@ def _parse_remotes(remote_lines):
134134

135135
def _get_remotes():
136136
remote_lines = subprocess.Popen(
137-
['git', 'remote', '-v'], stdout=subprocess.PIPE).communicate()[0].split(b'\n')
137+
['git', 'remote', '-v'], stdout=subprocess.PIPE).communicate()[0].decode().split('\n')
138138
return _parse_remotes(remote_lines)
139139

0 commit comments

Comments
 (0)