fix: remove unecessary print

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-02-27 20:48:17 +00:00
parent fbcf1ea995
commit 41bd80fefb
1 changed files with 0 additions and 1 deletions

View File

@ -82,7 +82,6 @@ var rawHandler = withUser(func(w http.ResponseWriter, r *http.Request, d *data)
func addFile(ar archiver.Writer, d *data, path string) error { func addFile(ar archiver.Writer, d *data, path string) error {
// Checks are always done with paths with "/" as path separator. // Checks are always done with paths with "/" as path separator.
path = strings.Replace(path, "\\", "/", -1) path = strings.Replace(path, "\\", "/", -1)
fmt.Println(path)
if !d.Check(path) { if !d.Check(path) {
return nil return nil
} }