Merge branch 'master' into tapir-gc
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Sarah Jamie Lewis 2022-04-21 23:00:04 +00:00
commit 45e9dfe869
1 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@ import (
"git.openprivacy.ca/openprivacy/log" "git.openprivacy.ca/openprivacy/log"
"io" "io"
"os" "os"
"path"
"path/filepath" "path/filepath"
"strings" "strings"
) )
@ -797,7 +796,7 @@ func (cps *CwtchProfileStorage) Export(filename string) error {
defer tarWriter.Close() defer tarWriter.Close()
// We need to know the base directory so we can import it later (and prevent duplicates)... // We need to know the base directory so we can import it later (and prevent duplicates)...
profilePath := path.Base(cps.ProfileDirectory) profilePath := filepath.Base(cps.ProfileDirectory)
err = addFileToTarWriter(profilePath, profileDB, tarWriter) err = addFileToTarWriter(profilePath, profileDB, tarWriter)
if err != nil { if err != nil {