fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix translations
[redakcja.git]
/
apps
/
organizations
/
models.py
diff --git
a/apps/organizations/models.py
b/apps/organizations/models.py
index
0761b66
..
6a7aa7a
100644
(file)
--- a/
apps/organizations/models.py
+++ b/
apps/organizations/models.py
@@
-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