X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/38cc2bc1fec598a380371358d0a9d0b6cf4d9f05..8775731643fbbd274ebc14714abb60d609bd9219:/apps/oai/handlers.py diff --git a/apps/oai/handlers.py b/apps/oai/handlers.py index d098a64ad..70e78c5fb 100644 --- a/apps/oai/handlers.py +++ b/apps/oai/handlers.py @@ -59,7 +59,7 @@ class Catalogue(common.ResumptionOAIPMH): earliest_change or earliest_delete # admins - self.admin_emails = [u.email for u in User.objects.filter(is_superuser=True)] + self.admin_emails = [u.email for u in User.objects.filter(is_superuser=True).exclude(email__exact=u'')] def metadata(self, book): xml = etree.parse(book.xml_file)