mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-09 23:08:32 +00:00
pep8
This commit is contained in:
parent
d65d40afd4
commit
92c8d39987
@ -49,6 +49,7 @@ def cookie_jar_to_list(cookie_jar):
|
||||
|
||||
class TempFileWrapper:
|
||||
"""Wrapper for NamedTemporaryFile, auto closes file after io and deletes file upon wrapper object gc"""
|
||||
|
||||
def __init__(self, content=None, text=True, encoding='utf-8', suffix=None):
|
||||
self.encoding = None if not text else encoding
|
||||
self.text = text
|
||||
|
Loading…
Reference in New Issue
Block a user