Close delverlens file
This commit is contained in:
parent
132d0784b0
commit
768e4c9d79
|
@ -15,6 +15,7 @@ func ParseExportFile(filename string) ([]DelverLensCard, error) {
|
||||||
var cards []DelverLensCard
|
var cards []DelverLensCard
|
||||||
|
|
||||||
file, err := os.Open("/home/viciouscirce/dox/sevenkeys_imports/" + filename)
|
file, err := os.Open("/home/viciouscirce/dox/sevenkeys_imports/" + filename)
|
||||||
|
defer file.Close()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return cards, err
|
return cards, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue