summaryrefslogtreecommitdiff
path: root/picture.go
diff options
context:
space:
mode:
Diffstat (limited to 'picture.go')
-rw-r--r--picture.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/picture.go b/picture.go
index ecd6d94..332c639 100644
--- a/picture.go
+++ b/picture.go
@@ -497,6 +497,9 @@ func (f *File) getSheetRelationshipsTargetByID(sheet, rID string) string {
// if err := ioutil.WriteFile(file, raw, 0644); err != nil {
// fmt.Println(err)
// }
+// if err = f.Close(); err != nil {
+// fmt.Println(err)
+// }
//
func (f *File) GetPicture(sheet, cell string) (string, []byte, error) {
col, row, err := CellNameToCoordinates(cell)