aboutsummaryrefslogtreecommitdiff
path: root/src/runserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/runserver.py')
-rwxr-xr-xsrc/runserver.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runserver.py b/src/runserver.py
index 0429449f..c7bdbff9 100755
--- a/src/runserver.py
+++ b/src/runserver.py
@@ -20,8 +20,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import calendar
from bootstrap import conf, application, populate_g
-from flask.ext.babel import Babel
-from flask.ext.babel import format_datetime
+from flask_babel import Babel, format_datetime
if conf.ON_HEROKU:
from flask_sslify import SSLify
@@ -37,7 +36,7 @@ application.jinja_env.filters['datetime'] = format_datetime
application.jinja_env.globals['conf'] = conf
# Views
-from flask.ext.restful import Api
+from flask_restful import Api
from flask import g
with application.app_context():
bgstack15