diff --git a/wcsinst/wcsinstd/deploy.py b/wcsinst/wcsinstd/deploy.py index 6f690c7..4cacd91 100644 --- a/wcsinst/wcsinstd/deploy.py +++ b/wcsinst/wcsinstd/deploy.py @@ -61,7 +61,8 @@ class DeployInstance(object): data = z.read(f) if not os.path.exists(os.path.dirname(path)): os.mkdir(os.path.dirname(path)) - open(path, 'w').write(data) + if not f.endswith('/'): + open(path, 'w').write(data) z.close() config_file = os.path.join(self.collectivity_install_dir, 'config.pck')