Skip to content

Commit 13848f6

Browse files
Fix Python 3 string decoding error
1 parent acb602e commit 13848f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terrafile/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,5 @@ def update_modules(path):
117117
shutil.rmtree(target, ignore_errors=True)
118118
output, returncode = run('git', 'clone', '--branch={}'.format(version), source, target)
119119
if returncode != 0:
120-
sys.stderr.write(output)
120+
sys.stderr.write(bytes.decode(output))
121121
sys.exit(returncode)

0 commit comments

Comments
 (0)