1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 03:36:22 -07:00

fixed stat error on upload

This commit is contained in:
Joshua Merrell 2013-11-03 00:32:28 -07:00
parent b3b0fd982e
commit 82dd17d460

View file

@ -483,7 +483,7 @@ func makePost(w http.ResponseWriter, r *http.Request) {
exitWithErrorPage(w,err.Error())
} else {
//post.FileChecksum string
stat,err := image_file.Stat()
stat,err := os.Stat(file_path)
if err != nil {
exitWithErrorPage(w,err.Error())
} else {