fix: incorrect var name
This commit is contained in:
parent
556366a933
commit
41dbd5a400
@ -62,8 +62,8 @@ class KeyedWriter(OutputWriter):
|
|||||||
|
|
||||||
def write(self, k, v):
|
def write(self, k, v):
|
||||||
logg.debug(f"writing keywriter key: {k} value: {v}")
|
logg.debug(f"writing keywriter key: {k} value: {v}")
|
||||||
if isinstance(value, str):
|
if isinstance(v, str):
|
||||||
value = value.encode("utf-8")
|
v = v.encode("utf-8")
|
||||||
if self.writer_keyed is not None:
|
if self.writer_keyed is not None:
|
||||||
self.writer_keyed.write(k, v)
|
self.writer_keyed.write(k, v)
|
||||||
if self.writer_immutable is not None:
|
if self.writer_immutable is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user