diff options
Diffstat (limited to 'bvggrabber/api')
-rw-r--r-- | bvggrabber/api/__init__.py | 2 | ||||
-rw-r--r-- | bvggrabber/api/scheduleddeparture.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bvggrabber/api/__init__.py b/bvggrabber/api/__init__.py index b13f756..36c913b 100644 --- a/bvggrabber/api/__init__.py +++ b/bvggrabber/api/__init__.py @@ -8,7 +8,7 @@ from math import floor from dateutil.parser import parse -from bvggrabber.utils.format import hourformat, fullformat +from bvggrabber.utils.format import fullformat, timeformat def compute_remaining(start, end): diff --git a/bvggrabber/api/scheduleddeparture.py b/bvggrabber/api/scheduleddeparture.py index 61c4b57..ba8a453 100644 --- a/bvggrabber/api/scheduleddeparture.py +++ b/bvggrabber/api/scheduleddeparture.py @@ -5,9 +5,9 @@ import datetime from bs4 import BeautifulSoup -from bvggrabber.api import QueryApi, Departure, hourformat +from bvggrabber.api import QueryApi, Departure -from bvggrabber.utils.format import int2bin +from bvggrabber.utils.format import dateformat, int2bin, timeformat SCHEDULED_API_ENDPOINT = 'http://mobil.bvg.de/Fahrinfo/bin/stboard.bin/dox' |