fix translations
[redakcja.git] / apps / organizations / models.py
index 0761b66..6a7aa7a 100644 (file)
@@ -83,7 +83,7 @@ class Card(models.Model):
             p = getattr(self, "preview_html_%s" % lang)
             assert p
             return p
-        except AssertionError:
+        except (AssertionError, AttributeError):
             return self.preview_html