mirror of
https://github.com/tenox7/wrp.git
synced 2024-06-11 08:29:35 +00:00
assign to map before flush
This commit is contained in:
parent
af3aef5c39
commit
89f5f556f9
2
wrp.go
2
wrp.go
|
@ -251,9 +251,9 @@ func capture(gourl string, w int64, h int64, s float64, co int, p int64, i bool,
|
||||||
} else {
|
} else {
|
||||||
fmt.Fprintf(out, "</MAP>\n")
|
fmt.Fprintf(out, "</MAP>\n")
|
||||||
}
|
}
|
||||||
|
ismap[mappath] = is
|
||||||
out.(http.Flusher).Flush()
|
out.(http.Flusher).Flush()
|
||||||
log.Printf("%s Done with caputure for %s\n", c, gourl)
|
log.Printf("%s Done with caputure for %s\n", c, gourl)
|
||||||
ismap[mappath] = is
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user