Commit aef1f9ec authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[execution][docker] Fix key search in dictionaries

parent 4d265145
......@@ -227,7 +227,7 @@ class DockerExecutor(RemoteExecutor):
database_paths = {}
if not'datasets_root_path'):
if 'datasets_root_path' not in
for db_name in self.databases.keys():
json_path = os.path.join(root_folder, db_name + '.json')
......@@ -269,7 +269,7 @@ class DockerExecutor(RemoteExecutor):
databases_container.add_volume(databases_configuration_path, '/beat/prefix')
databases_container.add_volume(self.cache, '/beat/cache')
if not'datasets_root_path'):
if 'datasets_root_path' not in
for db_name, db_path in database_paths.items():
databases_container.add_volume(db_path, os.path.join('/databases', db_name))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment