diff --git a/libpathod/app.py b/libpathod/app.py index 1910e80e1..d23d26a0d 100644 --- a/libpathod/app.py +++ b/libpathod/app.py @@ -1,4 +1,6 @@ -import logging, pprint, cStringIO +import logging +import pprint +import cStringIO from flask import Flask, jsonify, render_template, request, abort, make_response import version, language, utils from netlib import http_uastrings @@ -39,7 +41,12 @@ def make_app(noapi): @app.route('/') @app.route('/index.html') def index(): - return render("index.html", True, section="main") + return render( + "index.html", + True, + section="main", + version=version.VERSION + ) @app.route('/download') @app.route('/download.html') diff --git a/libpathod/templates/index.html b/libpathod/templates/index.html index 5e4bd842d..337f361ce 100644 --- a/libpathod/templates/index.html +++ b/libpathod/templates/index.html @@ -56,7 +56,7 @@

source