diff --git a/cps/server.py b/cps/server.py index da7b487c..0531a729 100644 --- a/cps/server.py +++ b/cps/server.py @@ -25,7 +25,7 @@ import signal import web try: - from gevent.piwsgi import WSGIServer + from gevent.pywsgi import WSGIServer from gevent.pool import Pool from gevent import __version__ as geventVersion gevent_present = True diff --git a/cps/templates/user_edit.html b/cps/templates/user_edit.html index f43cc36f..92685464 100644 --- a/cps/templates/user_edit.html +++ b/cps/templates/user_edit.html @@ -16,7 +16,7 @@ {% if ( g.user and g.user.role_passwd() or g.user.role_admin() ) and not content.role_anonymous() %} {% if g.user and g.user.role_admin() and g.allow_registration and not new_user and not profile %}
- {% else %} + {% else %}