Remove empty filename error
This commit is contained in:
parent
7d11cd9d6a
commit
da21fb5b58
1 changed files with 0 additions and 5 deletions
|
@ -109,11 +109,6 @@ func scanHandler(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
if part.FileName() == "" {
|
||||
writeError(w, http.StatusBadRequest, "Filename is empty")
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Printf(time.Now().Format(time.RFC3339) + " Started scanning: " + part.FileName() + "\n")
|
||||
var abort chan bool
|
||||
response, err := c.ScanStream(part, abort)
|
||||
|
|
Loading…
Add table
Reference in a new issue