From f4c241a0aad8e199f23f3d242974e1a78f54f743 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Thu, 30 Jul 2015 18:14:34 +0100 Subject: [PATCH] Fixing build issues --- web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web.go b/web.go index be5828c..4cd57e4 100644 --- a/web.go +++ b/web.go @@ -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")