diff --git a/peer/cwtchprofilestorage.go b/peer/cwtchprofilestorage.go index 00ca626..45f6adb 100644 --- a/peer/cwtchprofilestorage.go +++ b/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 {