lrc tweaks
This commit is contained in:
@@ -8,10 +8,10 @@ class LyricsResult:
|
||||
artist: str
|
||||
song: str
|
||||
src: str
|
||||
lyrics: str
|
||||
lyrics: str|dict
|
||||
confidence: int
|
||||
time: float = 0.00
|
||||
|
||||
def dict(self):
|
||||
def todict(self):
|
||||
"""Return as dict"""
|
||||
return {k: str(v) for k, v in asdict(self).items()}
|
||||
return {k: type(v)(v) for k, v in asdict(self).items()}
|
||||
Reference in New Issue
Block a user