aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'nfvbench/config.py')
-rw-r--r--nfvbench/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/config.py b/nfvbench/config.py
index c107958..8e77127 100644
--- a/nfvbench/config.py
+++ b/nfvbench/config.py
@@ -23,7 +23,7 @@ def config_load(file_name, from_cfg=None, whitelist_keys=None):
The config file content taking precedence in case of duplicate
"""
try:
- with open(file_name) as fileobj:
+ with open(file_name, encoding="utf-8") as fileobj:
cfg = AttrDict(yaml.safe_load(fileobj))
except IOError:
raise Exception("Configuration file at '{}' was not found. Please use correct path "