Don't try and set locale, it isn't working
This commit is contained in:
parent
be6e1a86d7
commit
63d0d198eb
2
app.py
2
app.py
|
@ -4,7 +4,6 @@ import hashlib
|
||||||
import inspect
|
import inspect
|
||||||
import itertools
|
import itertools
|
||||||
import json
|
import json
|
||||||
import locale
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import socket
|
import socket
|
||||||
|
@ -56,7 +55,6 @@ from depicts.model import (
|
||||||
)
|
)
|
||||||
from depicts.pager import Pagination, init_pager
|
from depicts.pager import Pagination, init_pager
|
||||||
|
|
||||||
locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
|
|
||||||
user_agent = "Mozilla/5.0 (X11; Linux i586; rv:32.0) Gecko/20160101 Firefox/32.0"
|
user_agent = "Mozilla/5.0 (X11; Linux i586; rv:32.0) Gecko/20160101 Firefox/32.0"
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
Loading…
Reference in a new issue