X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4fae06ea1b9fec1a45482ac043aa049ebce3f465..32ee10aaf4c035a199a96c06bd2506befed5e17f:/src/documents/models/image.py?ds=sidebyside diff --git a/src/documents/models/image.py b/src/documents/models/image.py index fd3d8c41..c14cca0c 100644 --- a/src/documents/models/image.py +++ b/src/documents/models/image.py @@ -72,7 +72,7 @@ class Image(dvcs_models.Document): return open(self.image.path) publishable = self.publishable() - assert publishable, _("There is no publishable revision") + assert publishable, _("There is no approved revision") picture_xml = publishable.materialize() try: