correction erreur nom fonction

This commit is contained in:
Jean-Marie Favreau 2024-02-03 12:12:47 +01:00
parent 7faef3923f
commit 3ebc53995b

View File

@ -131,7 +131,7 @@ def run_recurrent_import(self, pk):
@app.task(bind=True)
def daily_imports(self):
from agenda_culturel.models import RecurrentImport
logger.messages("Imports quotidiens")
logger.info("Imports quotidiens")
imports = RecurrentImport.objects.filter(recurrence=RecurrentImport.RECURRENCE.DAILY)
for imp in imports:
@ -141,7 +141,7 @@ def daily_imports(self):
@app.task(bind=True)
def weekly_imports(self):
from agenda_culturel.models import RecurrentImport
logger.messages("Imports hebdomadaires")
logger.info("Imports hebdomadaires")
imports = RecurrentImport.objects.filter(recurrence=RecurrentImport.RECURRENCE.WEEKLY)
for imp in imports: