diff options
Diffstat (limited to 'iss/predictions.py')
| -rw-r--r-- | iss/predictions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iss/predictions.py b/iss/predictions.py index 1bdd10e..bab9f17 100644 --- a/iss/predictions.py +++ b/iss/predictions.py @@ -59,7 +59,9 @@ class Predictions(object): } def get_prediction_details(self, rise, culminate, zet): + length = int((zet - rise) * 86400) return { + "length": length, "rise": self.get_position_details(rise), "culminate": self.get_position_details(culminate), "set": self.get_position_details(zet), |
