fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrades
[redakcja.git]
/
src
/
alerts
/
rules.py
diff --git
a/src/alerts/rules.py
b/src/alerts/rules.py
index
c7903f1
..
389dcbb
100644
(file)
--- a/
src/alerts/rules.py
+++ b/
src/alerts/rules.py
@@
-12,6
+12,11
@@
class CheckParse(Check):
description = _('Book parse error.')
description = _('Book parse error.')
+class CheckMeta(Check):
+ tag = 'meta'
+ description = _('Metadata parse error.')
+
+
class CheckCoverLocal(Check):
tag = 'cover-local'
description = _('Cover is not local')
class CheckCoverLocal(Check):
tag = 'cover-local'
description = _('Cover is not local')
@@
-26,6
+31,7
@@
class CheckCoverLocal(Check):
rules = [
CheckParse(),
rules = [
CheckParse(),
+ CheckMeta(),
CheckCoverLocal(),
]
CheckCoverLocal(),
]