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:
parent
819aae6a09
commit
f531c7865b
1 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue