For some reason I decided to trim the extension

This commit is contained in:
lordwelch 2017-11-06 22:18:08 -07:00
parent b4d280e5ef
commit 138707e5b8

View File

@ -96,7 +96,7 @@ func main() {
content []byte
)
fmt.Println(file.Name())
T, err = os.Open(strings.TrimSuffix(file.Name(), ext))
T, err = os.Open(file.Name())
if err != nil {
panic(err)
}