summaryrefslogtreecommitdiffstats
path: root/dovetail/utils/dovetail_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'dovetail/utils/dovetail_config.py')
-rw-r--r--dovetail/utils/dovetail_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/utils/dovetail_config.py b/dovetail/utils/dovetail_config.py
index 1d13c69..98be8e6 100644
--- a/dovetail/utils/dovetail_config.py
+++ b/dovetail/utils/dovetail_config.py
@@ -25,7 +25,7 @@ class DovetailConfig(object):
path = os.path.join(conf_path, cls.dovetail_config['cli_file_name'])
with open(path) as f:
cmd_yml = yaml.safe_load(f)
- cls.dovetail_config['cli'] = cmd_yml[cmd_yml.keys()[0]]
+ cls.dovetail_config['cli'] = cmd_yml[list(cmd_yml.keys())[0]]
# update dovetail_config dict with the giving path.
# if path is in the dovetail_config dict, its value will be replaced.