X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fwrk%2Fwrk_traffic_profile_parser.py;h=f5534657055a1b49afee05aec5bd8db270b2c1bf;hp=f59210350bae715fe0fb134974a51a3458ff189c;hb=b55e324d526e5b05baef015c3614b9743c955992;hpb=5147d3ac0844b31852a3c221759f31915744b1c7 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(