9 lines
260 B
Python
9 lines
260 B
Python
from scipaperloader.models import ScraperState
|
|
from scipaperloader import create_app
|
|
|
|
app = create_app()
|
|
|
|
with app.app_context():
|
|
scraper_state = ScraperState.query.first()
|
|
print(f"Active: {scraper_state.is_active}, Paused: {scraper_state.is_paused}")
|