python3: redo #36273 as bytes really wanted here (#40012)

This commit is contained in:
Nicolas Roche 2020-02-20 15:28:36 +01:00
parent 311014371e
commit e59369db0b
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class Command(BaseCommand):
continue
tenant_idp_metadata = os.path.join(tenant.get_directory(),
'idp-metadata-%s.xml' % service.get('id'))
replace_file(tenant_idp_metadata, response.text)
replace_file(tenant_idp_metadata, response.content)
# break now, only a single IdP is supported
break