Files
web2.0-backend/infoscreen/management/commands/hsl.py
T
2017-01-20 15:28:04 +02:00

10 lines
280 B
Python

from django.core.management.base import BaseCommand
from infoscreen.hsl_fetcher import HSLFetcher
class Command(BaseCommand):
help = 'Loads HSL timetables and save to json file.'
def handle(self, *args, **options):
fetcher = HSLFetcher()
fetcher.fetch()