Format dict keys need to be bytes (#52728)

This commit is contained in:
Matt Martz 2019-02-21 11:43:45 -06:00 committed by GitHub
parent f90610e48c
commit 269cdffcea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,10 +256,10 @@ class CallbackModule(CallbackBase):
for feature in self._features:
data = {
'counter': to_bytes(self._counter),
'task_uuid': to_bytes(task_uuid),
'feature': to_bytes(feature),
'ext': to_bytes(output_format)
b'counter': to_bytes(self._counter),
b'task_uuid': to_bytes(task_uuid),
b'feature': to_bytes(feature),
b'ext': to_bytes(output_format)
}
if self._files.get(feature):