diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index ec6343da8..12de61412 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -1613,6 +1613,9 @@ class locked_file(object): def read(self, *args): return self.f.read(*args) + def flush(self, *args): + self.f.flush() + def close(self, *args): self.__exit__(self, *args, value=False, traceback=False)