summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r--tools/mmd/MmdWidgets.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index 3570c58..b8f8be9 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -211,7 +211,6 @@ def osmWidget (session):
user_location = session.user.getDefaultLocation ()
if not user_location:
user_location = Location ()
- timestamp, longitude, latitude = session.satellite.getCurrentSSP ()
minutes_preview = 180
html = '''
@@ -269,8 +268,8 @@ def osmWidget (session):
The map shows the satellite's expected ground track for the next {5} minutes.
</div>
'''.format (
- longitude,
- latitude,
+ session.satellite.longitude,
+ session.satellite.latitude,
user_location.longitude,
user_location.latitude,
session.satellite.getTrajectoryAsJavaArray ('curves', minutes_preview),