mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-10 07:18:33 +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:
|
class TempFileWrapper:
|
||||||
"""Wrapper for NamedTemporaryFile, auto closes file after io and deletes file upon wrapper object gc"""
|
"""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):
|
def __init__(self, content=None, text=True, encoding='utf-8', suffix=None):
|
||||||
self.encoding = None if not text else encoding
|
self.encoding = None if not text else encoding
|
||||||
self.text = text
|
self.text = text
|
||||||
|
Loading…
Reference in New Issue
Block a user