From a5d334083769da6858866d2befd29609859f25a9 Mon Sep 17 00:00:00 2001 From: TheBestPessimist Date: Sun, 1 Oct 2017 12:33:32 +0300 Subject: [PATCH] Fix string format derp. Goimports is weird. It changed something, but i have no idea what. --- src/duplicacy_gcdstorage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duplicacy_gcdstorage.go b/src/duplicacy_gcdstorage.go index aa0457c..9cb40b7 100644 --- a/src/duplicacy_gcdstorage.go +++ b/src/duplicacy_gcdstorage.go @@ -329,7 +329,7 @@ func CreateGCDStorage(tokenFile string, storagePath string, threads int) (storag return nil, err } } else if !isDir { - return nil, fmt.Errorf("%s/%s is not a directory", storagePath+"/"+dir) + return nil, fmt.Errorf("%s/%s is not a directory", storagePath, dir) } else { storage.idCache[dir] = dirID }