X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9d0a4f124c6b0dca121206c8b4f12826c510906a..beac9fec3de5fa66dfc80ed119c4bdd812e9e2c2:/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(), ]