Bug correction in URL parameter (trailing /)

This commit is contained in:
Phyks 2014-01-22 01:45:20 +01:00
parent eef8221073
commit 73271e28b8

View File

@ -204,7 +204,7 @@ try:
elif option == "IGNORE_FILES": elif option == "IGNORE_FILES":
params["IGNORE_FILES"] = [i.strip() for i in value.split(",")] params["IGNORE_FILES"] = [i.strip() for i in value.split(",")]
elif option == "BLOG_URL": elif option == "BLOG_URL":
params["BLOG_URL"] = value.strip(" \n\t\r/") params["BLOG_URL"] = value.strip(" \n\t\r").rstrip("/")
else: else:
params[option.strip()] = value.strip() params[option.strip()] = value.strip()