[cleanup] Misc fixes
This commit is contained in:
parent
471d0367c7
commit
998a3cae0c
3 changed files with 4 additions and 4 deletions
|
|
@ -108,7 +108,7 @@ class FileDownloader:
|
|||
|
||||
@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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue