mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 07:07:19 +08:00
add locked_file.flush()
This commit is contained in:
parent
6490342753
commit
1f30831ab9
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user