mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-22 00:55:43 +07:00
[cleanup] Misc fixes
This commit is contained in:
@@ -108,7 +108,7 @@ def to_screen(self, *args, **kargs):
|
||||
|
||||
@classproperty
|
||||
def FD_NAME(cls):
|
||||
return re.sub(r'(?<!^)(?=[A-Z])', '_', cls.__name__[:-2]).lower()
|
||||
return re.sub(r'(?<=[a-z])(?=[A-Z])', '_', cls.__name__[:-2]).lower()
|
||||
|
||||
@staticmethod
|
||||
def format_seconds(seconds):
|
||||
|
||||
Reference in New Issue
Block a user