Skip to content

Commit

Permalink
Merge pull request #1246 from roots/renew-certs-set-universal_newlines
Browse files Browse the repository at this point in the history
Set universal_newlines for renew-certs script
  • Loading branch information
swalkinshaw authored Oct 26, 2020
2 parents d4ec2c9 + 31722f1 commit e6be480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/letsencrypt/templates/renew-certs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
).format(csr_path)

try:
new_bundled_cert = check_output(cmd, stderr=STDOUT, shell=True)
new_bundled_cert = check_output(cmd, stderr=STDOUT, shell=True, universal_newlines=True)
except CalledProcessError as e:
failed = True
print('Error while generating certificate for {}\n{}'.format(site, e.output), file=sys.stderr)
Expand Down

0 comments on commit e6be480

Please sign in to comment.