X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9d0a4f124c6b0dca121206c8b4f12826c510906a..13f286427e0ceb7a6c442844c447c7c3d5495871:/src/alerts/rules.py?ds=inline diff --git a/src/alerts/rules.py b/src/alerts/rules.py index c7903f1a..389dcbb4 100644 --- a/src/alerts/rules.py +++ b/src/alerts/rules.py @@ -12,6 +12,11 @@ class CheckParse(Check): description = _('Book parse error.') +class CheckMeta(Check): + tag = 'meta' + description = _('Metadata parse error.') + + class CheckCoverLocal(Check): tag = 'cover-local' description = _('Cover is not local') @@ -26,6 +31,7 @@ class CheckCoverLocal(Check): rules = [ CheckParse(), + CheckMeta(), CheckCoverLocal(), ]