Browse Source

Merge branch 'master' into tapir-gc

tapir-gc
Sarah Jamie Lewis 4 months ago
parent
commit
45e9dfe869
  1. 3
      peer/cwtchprofilestorage.go

3
peer/cwtchprofilestorage.go

@ -12,7 +12,6 @@ import (
"git.openprivacy.ca/openprivacy/log"
"io"
"os"
"path"
"path/filepath"
"strings"
)
@ -797,7 +796,7 @@ func (cps *CwtchProfileStorage) Export(filename string) error {
defer tarWriter.Close()
// 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)
if err != nil {

Loading…
Cancel
Save