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):
|
||||
logg.debug(f"writing keywriter key: {k} value: {v}")
|
||||
if isinstance(value, str):
|
||||
value = value.encode("utf-8")
|
||||
if isinstance(v, str):
|
||||
v = v.encode("utf-8")
|
||||
if self.writer_keyed is not None:
|
||||
self.writer_keyed.write(k, v)
|
||||
if self.writer_immutable is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user