aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/wrk/wrk_traffic_profile_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/wrk/wrk_traffic_profile_parser.py')
-rw-r--r--resources/tools/wrk/wrk_traffic_profile_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/wrk/wrk_traffic_profile_parser.py b/resources/tools/wrk/wrk_traffic_profile_parser.py
index f59210350b..f553465705 100644
--- a/resources/tools/wrk/wrk_traffic_profile_parser.py
+++ b/resources/tools/wrk/wrk_traffic_profile_parser.py
@@ -61,7 +61,7 @@ class WrkTrafficProfile:
self.profile_name = profile_name
try:
- with open(self.profile_name, "r") as profile_file:
+ with open(self.profile_name, u"rt") as profile_file:
self.traffic_profile = safe_load(profile_file)
except IOError as err:
raise WrkError(