Skip to content

Commit c3daad0

Browse files
authored
Merge pull request #123 from taizan-hokuto/fix/writer
Fix disabling writer
2 parents fd38467 + f25538e commit c3daad0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chat_downloader/output/continuous_write.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,13 @@ def __init__(self, file_name=None, overwrite=True, format=None, lazy_initialise=
208208
self.overwrite = overwrite
209209
self.format = format
210210
self.lazy_initialise = lazy_initialise
211-
211+
self.writer = None
212212
self.data.update(kwargs)
213213

214214
self._initialised = False
215215
if not self.lazy_initialise:
216216
self._real_init()
217217

218-
self.writer=None
219218
def __getattr__(self, name):
220219
if name in self.data:
221220
return self.data[name]

0 commit comments

Comments
 (0)