Fix export function
This commit is contained in:
parent
b1c3b90c75
commit
e10d6112f5
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ func Export(filename string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = file.Close()
|
||||
err = w.Close()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return w.Close()
|
||||
return file.Close()
|
||||
}
|
||||
|
||||
// GetExport returns a .zip archive with contents of the data folder
|
||||
|
|
Loading…
Reference in a new issue