diff options
Diffstat (limited to 'meta/recipes-core/meta/cve-update-nvd2-native.bb')
-rw-r--r-- | meta/recipes-core/meta/cve-update-nvd2-native.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb b/meta/recipes-core/meta/cve-update-nvd2-native.bb index 2f7dad7e82..67d76f75dd 100644 --- a/meta/recipes-core/meta/cve-update-nvd2-native.bb +++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb | |||
@@ -136,7 +136,7 @@ def nvd_request_next(url, api_key, args): | |||
136 | 136 | ||
137 | if (r.headers['content-encoding'] == 'gzip'): | 137 | if (r.headers['content-encoding'] == 'gzip'): |
138 | buf = r.read() | 138 | buf = r.read() |
139 | raw_data = gzip.decompress(buf) | 139 | raw_data = gzip.decompress(buf).decode("utf-8") |
140 | else: | 140 | else: |
141 | raw_data = r.read().decode("utf-8") | 141 | raw_data = r.read().decode("utf-8") |
142 | 142 | ||