Files
web2.0-backend/infoscreen/management/commands/hsl.py
T
2017-05-21 16:28:47 +03:00

11 lines
281 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()