Skip to content

Commit 02f5d38

Browse files
authored
Decode subprocess output to handle Python 3 in readmegen (GoogleCloudPlatform#1370)
1 parent 1e80ba6 commit 02f5d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/readme-gen/readme_gen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535

3636
def get_help(file):
37-
return subprocess.check_output(['python', file, '--help'])
37+
return subprocess.check_output(['python', file, '--help']).decode()
3838

3939

4040
def main():

0 commit comments

Comments
 (0)