Skip to content

Commit

Permalink
solved #18
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowanliang committed Jan 19, 2022
1 parent 66933b1 commit 2b86486
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ info
*.exe
od
TestUploadFolder
OneDriveUploader
LightUploader
*.toml
2 changes: 1 addition & 1 deletion googledrive/gdUpload.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ func uploadFile(srv *drive.Service, filePath string, filename string, tempFolder
log.Panicln(err)
}

defer temp("close")
defer temp("close=")
}()

}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func restore(restoreSrvc *upload.RestoreService, filesToRestore map[string]fileu
temp(tip)
time.Sleep(time.Second * 3)
}
defer temp("close")
defer temp("close=")
}(filePath, fileInfo)
}
wg.Wait()
Expand Down

0 comments on commit 2b86486

Please sign in to comment.