fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10b6900
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Mon, 23 May 2022 10:18:18 +0000
(12:18 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Mon, 23 May 2022 10:18:18 +0000
(12:18 +0200)
src/alerts/models.py
patch
|
blob
|
history
diff --git
a/src/alerts/models.py
b/src/alerts/models.py
index
66d1bff
..
132531f
100644
(file)
--- a/
src/alerts/models.py
+++ b/
src/alerts/models.py
@@
-21,7
+21,7
@@
class Alert(models.Model):
cls.objects.filter(book=book).delete()
try:
wlbook = book.wldocument(publishable=False, librarian2=True)
cls.objects.filter(book=book).delete()
try:
wlbook = book.wldocument(publishable=False, librarian2=True)
- except Exception:
+ except Exception
as e
:
cls.objects.create(book=book, tag='parse', comment=str(e))
return
cls.objects.create(book=book, tag='parse', comment=str(e))
return