Skip to content

Commit

Permalink
Merge pull request #123 from taizan-hokuto/fix/writer
Browse files Browse the repository at this point in the history
Fix disabling writer
  • Loading branch information
xenova authored Sep 11, 2021
2 parents fd38467 + f25538e commit c3daad0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chat_downloader/output/continuous_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,13 @@ def __init__(self, file_name=None, overwrite=True, format=None, lazy_initialise=
self.overwrite = overwrite
self.format = format
self.lazy_initialise = lazy_initialise

self.writer = None
self.data.update(kwargs)

self._initialised = False
if not self.lazy_initialise:
self._real_init()

self.writer=None
def __getattr__(self, name):
if name in self.data:
return self.data[name]
Expand Down

0 comments on commit c3daad0

Please sign in to comment.