mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-27 06:10:38 +01:00
add locked_file.flush()
This commit is contained in:
parent
8230a3575e
commit
1221873dcd
|
@ -3309,6 +3309,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…
Reference in New Issue
Block a user