dépôts
/
cavote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39efd22
)
set locale
author
Julien Rabier
<taziden@flexiden.org>
Tue, 22 May 2012 22:06:06 +0000
(
00:06
+0200)
committer
Julien Rabier
<taziden@flexiden.org>
Tue, 22 May 2012 22:06:06 +0000
(
00:06
+0200)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index
036352a
..
bd87c9a
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-5,6
+5,8
@@
from flask import Flask, request, session, g, redirect, url_for, abort, \
render_template, flash
import sqlite3
from datetime import date, timedelta
+import locale
+locale.setlocale(locale.LC_ALL, '')
DATABASE = '/tmp/cavote.db'
SECRET_KEY = '{J@uRKO,xO-PK7B,jF?>iHbxLasF9s#zjOoy=+:'