summaryrefslogtreecommitdiffstats
path: root/grandlyon/scripts/copy-portal-agent.py
diff options
context:
space:
mode:
Diffstat (limited to 'grandlyon/scripts/copy-portal-agent.py')
-rw-r--r--grandlyon/scripts/copy-portal-agent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grandlyon/scripts/copy-portal-agent.py b/grandlyon/scripts/copy-portal-agent.py
index 8a4051e..55514bc 100644
--- a/grandlyon/scripts/copy-portal-agent.py
+++ b/grandlyon/scripts/copy-portal-agent.py
@@ -20,7 +20,7 @@ else:
orig_site = 'portail-agent-%s.guichet-recette.grandlyon.com' % slug_orig_city
dest_site = 'portail-agent-%s.guichet-recette.grandlyon.com' % slug_dest_city
-site_export_orig = subprocess.check_output(['sudo', '-u', 'combo', 'combo-manage', 'tenant_command', 'export_site', '-d', orig_site])
+site_export_orig = subprocess.check_output(['sudo', '-u', 'combo', 'combo-manage', 'tenant_command', 'export_site', '-d', orig_site, '--format-json'])
site_export_orig = site_export_orig.decode('utf-8')
site_export = site_export_orig.replace(orig_city, dest_city)