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:
parent
b3b0fd982e
commit
82dd17d460
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue