grand lyon: include carddefs when copying tenant

This commit is contained in:
Frédéric Péters 2021-06-22 10:33:27 +02:00
parent 421801766e
commit e63ace15f8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def copy(orig, dest, dest_city):
fd.write(src)
fd.close()
for object_type in ('formdefs', 'workflows', 'categories', 'datasources', 'models', 'wscalls'):
for object_type in ('carddefs', 'formdefs', 'workflows', 'categories', 'datasources', 'models', 'wscalls'):
if os.path.exists('/var/lib/wcs/%s' % orig_site):
orig_base_dir = '/var/lib/wcs/%s' % orig_site
elif os.path.exists('/var/lib/wcs/tenants/%s' % orig_site):