X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9d0a4f124c6b0dca121206c8b4f12826c510906a..69b332800a472211b5da70426171fa429702a273:/src/alerts/rules.py 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(), ]