Update main_select.go
This commit is contained in:
parent
5178131e51
commit
cddf3d4388
@ -1262,11 +1262,10 @@ func conventTTMLToLRC(ttml string) (string, error) {
|
||||
_, err = fmt.Sscanf(lyric.SelectAttr("begin").Value, "%d:%d.%d", &m, &s, &ms)
|
||||
h = 0
|
||||
}
|
||||
if err != nil {
|
||||
} else {
|
||||
_, err = fmt.Sscanf(lyric.SelectAttr("begin").Value, "%d.%d", &s, &ms)
|
||||
h, m = 0, 0
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user