fftr_convert fix.

This commit is contained in:
Olivier Meunier
2021-04-28 01:03:32 +02:00
parent 87a60aeac0
commit 32bfac0c1f

View File

@@ -164,7 +164,7 @@ func parseLine(line string) ([3]string, error) {
}
m := lineRE.FindAllStringSubmatch(line, -1)
if strings.HasPrefix(m[0][3], "'") && strings.HasSuffix(m[0][3], "'") {
if strings.HasPrefix(m[0][3], "'") && strings.HasSuffix(m[0][3], "'") && len(m[0][3]) > 1 {
m[0][3] = m[0][3][1 : len(m[0][3])-1]
}