Close delverlens file

This commit is contained in:
The Magician 2024-09-25 12:03:35 +01:00
parent 132d0784b0
commit 768e4c9d79
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }