Skip to content

Commit

Permalink
Make sure the copyright message is from 2011 until the current year, …
Browse files Browse the repository at this point in the history
…just because it was bugging me.
  • Loading branch information
rossjones committed Jan 12, 2012
1 parent 7e902e1 commit f1a8731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webstore/templates/index.html
Expand Up @@ -23,7 +23,7 @@ <h1>Welcome to webstore</h1>
</p>
<hr />
<p>
&copy; 2011: Open Knowledge Foundation. Openly licensed under the <a href="http://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a>.
&copy; 2011 - {{ copyright_end }}: Open Knowledge Foundation. Openly licensed under the <a href="http://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a>.
</p>
<a href="http://github.com/okfn/webstore"><img style="position: fixed; top: 0; right: 0; border: 0;"
src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
Expand Down
4 changes: 2 additions & 2 deletions webstore/web.py
@@ -1,5 +1,5 @@
import logging

from datetime import datetime
from flask import request, g, render_template, abort

from webstore.core import app
Expand Down Expand Up @@ -36,7 +36,7 @@ def handle(any=None):

@app.route('/')
def home():
return render_template('index.html')
return render_template('index.html', copyright_end=datetime.now().year)

app.register_blueprint(store)

Expand Down

0 comments on commit f1a8731

Please sign in to comment.