Remove dangerous logging function
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2019-08-02 04:46:14 +00:00
parent 896c383156
commit 7d391a97bf
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -48,7 +48,6 @@ func loadBangs() (bangs map[string]string) {
func buildSearchURL(template string, query string) (searchUrl string) { func buildSearchURL(template string, query string) (searchUrl string) {
searchUrl = strings.Replace(template, "%s", url.QueryEscape(query), 1) searchUrl = strings.Replace(template, "%s", url.QueryEscape(query), 1)
searchUrl = strings.Replace(searchUrl, "%S", query, 1) searchUrl = strings.Replace(searchUrl, "%S", query, 1)
log.Print(searchUrl)
return searchUrl return searchUrl
} }