Fixing build issues

This commit is contained in:
MichaelOultram 2015-07-30 18:14:34 +01:00
parent 4cbe281e4f
commit f4c241a0aa

4
web.go
View file

@ -92,8 +92,8 @@ func (web *WebServer) skip(w http.ResponseWriter, r *http.Request) {
if uname == nil {
fmt.Fprintf(w, "Invalid Token")
} else {
value = html.UnescapeString(r.FormValue("value"))
playlist, err := strconv.ParseBool(playlist)
value := html.UnescapeString(r.FormValue("value"))
playlist, err := strconv.ParseBool(value)
if err == nil {
skip(uname, false, playlist)
fmt.Fprintf(w, "Success")