From 768e4c9d79689cdd917cb0d5a9ab855c11aee5be Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 25 Sep 2024 12:03:35 +0100 Subject: [PATCH] Close delverlens file --- sevenkeys/delverlens/delverlens.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sevenkeys/delverlens/delverlens.go b/sevenkeys/delverlens/delverlens.go index 491c39d..0475e25 100644 --- a/sevenkeys/delverlens/delverlens.go +++ b/sevenkeys/delverlens/delverlens.go @@ -15,6 +15,7 @@ func ParseExportFile(filename string) ([]DelverLensCard, error) { var cards []DelverLensCard file, err := os.Open("/home/viciouscirce/dox/sevenkeys_imports/" + filename) + defer file.Close() if err != nil { return cards, err }