From 0360de3d9578d9a5a51b526c44cec9a769aa0bed Mon Sep 17 00:00:00 2001 From: codl Date: Sun, 20 Aug 2017 18:52:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/version.py b/lib/version.py index bed2811..5e1fe90 100644 --- a/lib/version.py +++ b/lib/version.py @@ -7,5 +7,5 @@ def url_for_version(ver): match = version_re.match(ver) if not match: return app.config['REPO_URL'] - return app.config['COMMIT_URL'].format(hash=match.group('hash')) + return app.config['COMMIT_URL'].format(**match.groups())