path.Join() stripps multiple slashes.

master
Robert S. Gerus 2015-12-23 10:08:45 +01:00
parent 3b083c205b
commit 055cb0328a
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ func fourchanscrape(l string) string {
return "error while correcting permisions"
}
return path.Join(cfg.LookupString(nil, "FourChanLinkBase"), filename)
return cfg.LookupString(nil, "FourChanLinkBase") + "/" + filename
}
func genericURLTitle(l string) string {