Mercurial > libervia-web
changeset 1339:3a1cb3c5702f
pages (photos/new): typo
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 15 Aug 2020 23:29:00 +0200 |
parents | 9bfd2d0661b2 |
children | d5f6793dc17c |
files | libervia/pages/photos/new/page_meta.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/pages/photos/new/page_meta.py Sat Aug 15 23:28:44 2020 +0200 +++ b/libervia/pages/photos/new/page_meta.py Sat Aug 15 23:29:00 2020 +0200 @@ -4,7 +4,7 @@ from twisted.internet import defer from sat.core.log import getLogger from sat.core.i18n import D_ -from sat.tools.common import date_utils, data_format +from sat.core import exceptions """creation of new events""" @@ -36,8 +36,8 @@ try: fis_service = next(iter(entities_services)) except StopIteration: - raise DataError(D_( - "You server has no service to create a photo album, please ask your server" + raise exceptions.DataError(D_( + "You server has no service to create a photo album, please ask your server " "administrator to add one")) await self.host.bridgeCall(