Commit 3d4e894c authored by wnagele's avatar wnagele

Fixes 'TypeError: readtle() argument 1 must be str, not unicode'

Signed-off-by: wnagele's avatarWolfgang Nagele <>
parent b942336d
......@@ -154,9 +154,9 @@ class WorkerTrack(Worker):
observer.elevation = observer_dict["elev"] = ephem.Date(start)
satellite = ephem.readtle(satellite_dict["tle0"],
satellite = ephem.readtle(
str(satellite_dict["tle0"]), str(satellite_dict["tle1"]),
timestamp_max = ephem.Date(observer.next_pass(satellite)[2]).datetime()
pin = pinpoint(observer_dict, satellite_dict, timestamp_max)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment