9 lines
312 B
Python
9 lines
312 B
Python
from scipaperloader.celery import celery, configure_celery
|
|
# Import all task modules to ensure they are registered with Celery
|
|
import scipaperloader.blueprints.scraper # Import the scraper module with our tasks
|
|
|
|
# Configure celery with Flask app
|
|
configure_celery()
|
|
|
|
if __name__ == '__main__':
|
|
celery.start() |