1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

moving logger lines into handle method as requested

This commit is contained in:
Jace Manshadi 2023-01-18 15:53:18 -08:00
parent 819aae6a09
commit f531c7865b
No known key found for this signature in database
GPG key ID: 72EE7ED6581AE24C

View file

@ -4,10 +4,8 @@ from django.core.management.base import BaseCommand
from django_mailbox.models import Mailbox
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)
class Command(BaseCommand):
def handle(self, *args, **options):
logging.basicConfig(level=logging.INFO)
Mailbox.get_new_mail_all_mailboxes(args)