diff options
author | Markus Holtermann <info@markusholtermann.eu> | 2013-01-31 19:50:34 +0100 |
---|---|---|
committer | Christian Struck <christian@struck.se> | 2013-01-31 19:55:54 +0100 |
commit | 9caefee9893048f169bc451cd9c454e0af668deb (patch) | |
tree | c3cb5c47fe3580f293467d822159b246cc823e97 /bvggrabber/api | |
parent | 59929df267e4480a9f7c123c4e22c28b49e78758 (diff) | |
download | bvg-grabber-9caefee9893048f169bc451cd9c454e0af668deb.tar.gz bvg-grabber-9caefee9893048f169bc451cd9c454e0af668deb.tar.bz2 bvg-grabber-9caefee9893048f169bc451cd9c454e0af668deb.zip |
Fixup travis#25
Signed-off-by: Christian Struck <christian@struck.se>
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' |