diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-09 05:53:15 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-09 22:32:00 +0530 |
commit | b5ae35ee6d3f913898770b8c74ee5f5e5cc33560 (patch) | |
tree | 522e8c204c63433978cf736c4638aee76a11a3e5 /yt_dlp/minicurses.py | |
parent | 4e3b637d5be70b92ee511743405f3c907fed20f6 (diff) | |
download | hypervideo-pre-b5ae35ee6d3f913898770b8c74ee5f5e5cc33560.tar.lz hypervideo-pre-b5ae35ee6d3f913898770b8c74ee5f5e5cc33560.tar.xz hypervideo-pre-b5ae35ee6d3f913898770b8c74ee5f5e5cc33560.zip |
[cleanup] Misc cleanup
Diffstat (limited to 'yt_dlp/minicurses.py')
-rw-r--r-- | yt_dlp/minicurses.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/minicurses.py b/yt_dlp/minicurses.py index a466fb4b0..0e37ed818 100644 --- a/yt_dlp/minicurses.py +++ b/yt_dlp/minicurses.py @@ -1,3 +1,4 @@ +import functools from threading import Lock from .utils import supports_terminal_sequences, TERMINAL_SEQUENCES @@ -49,6 +50,7 @@ class MultilinePrinter(MultilinePrinterBase): self._HAVE_FULLCAP = supports_terminal_sequences(self.stream) def lock(func): + @functools.wraps(func) def wrapper(self, *args, **kwargs): with self._movelock: return func(self, *args, **kwargs) |