From 73271e28b8a9443164e3a8913a06f976b33f7908 Mon Sep 17 00:00:00 2001 From: Phyks Date: Wed, 22 Jan 2014 01:45:20 +0100 Subject: [PATCH] Bug correction in URL parameter (trailing /) --- pre-commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre-commit.py b/pre-commit.py index e1b0713..b7a9f37 100755 --- a/pre-commit.py +++ b/pre-commit.py @@ -204,7 +204,7 @@ try: elif option == "IGNORE_FILES": params["IGNORE_FILES"] = [i.strip() for i in value.split(",")] elif option == "BLOG_URL": - params["BLOG_URL"] = value.strip(" \n\t\r/") + params["BLOG_URL"] = value.strip(" \n\t\r").rstrip("/") else: params[option.strip()] = value.strip()