Skip to content

Commit 73bf541

Browse files
Fix pep8 errors #56
1 parent 8a7d480 commit 73bf541

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

PostmonTaskScheduler.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@
1414
CELERY_RESULT_SERIALIZER='json',
1515
CELERY_TIMEZONE='America/Sao_Paulo',
1616
CELERY_ENABLE_UTC=True,
17-
CELERYBEAT_SCHEDULE = {
17+
CELERYBEAT_SCHEDULE={
1818
'track_ibge_daily': {
1919
'task': 'PostmonTaskScheduler.track_ibge',
20-
'schedule': timedelta(days=1) # útil para testes: timedelta(minutes=1)
20+
'schedule': timedelta(days=1) # útil para
21+
# testes: timedelta(minutes=1)
2122
}
2223
}
2324
)
2425

2526
logger = get_task_logger(__name__)
2627

28+
2729
@app.task
2830
def track_ibge():
2931
logger.info('Iniciando tracking do IBGE...')

0 commit comments

Comments
 (0)