Actually use the right exception class.

Two HTTPError classes exist. Need to use the one in notifications_python_client.
This commit is contained in:
Martyn Inglis
2016-08-24 12:12:19 +01:00
parent d149a9691a
commit d56c14e147
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ from dateutil.parser import parse
from notifications_utils.template import Template
from notifications_utils.recipients import first_column_heading
from notify_client import HTTPError
from notifications_python_client.errors import HTTPError
from app.main import main
from app.utils import user_has_permissions