mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Format dict keys need to be bytes (#52728)
This commit is contained in:
parent
f90610e48c
commit
269cdffcea
1 changed files with 4 additions and 4 deletions
|
@ -256,10 +256,10 @@ class CallbackModule(CallbackBase):
|
||||||
|
|
||||||
for feature in self._features:
|
for feature in self._features:
|
||||||
data = {
|
data = {
|
||||||
'counter': to_bytes(self._counter),
|
b'counter': to_bytes(self._counter),
|
||||||
'task_uuid': to_bytes(task_uuid),
|
b'task_uuid': to_bytes(task_uuid),
|
||||||
'feature': to_bytes(feature),
|
b'feature': to_bytes(feature),
|
||||||
'ext': to_bytes(output_format)
|
b'ext': to_bytes(output_format)
|
||||||
}
|
}
|
||||||
|
|
||||||
if self._files.get(feature):
|
if self._files.get(feature):
|
||||||
|
|
Loading…
Reference in a new issue