Browse Source

fix: remove Mercury and Venus opposition

tags/v0.6.2
Jérôme Deuchnord 5 years ago
parent
commit
1b4c499127
No known key found for this signature in database GPG Key ID: BC6F3C345B7D33B0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kosmorrolib/events.py

+ 1
- 1
kosmorrolib/events.py View File

@@ -80,7 +80,7 @@ def _search_oppositions(start_time: Time, end_time: Time) -> [Event]:
events = []

for aster in ASTERS:
if not isinstance(aster, Planet) or aster.name in ['Mercury', 'Venus']:
if not isinstance(aster, Planet) or aster.skyfield_name in ['MERCURY', 'VENUS']:
continue

times, _ = find_discrete(start_time, end_time, is_oppositing)


Loading…
Cancel
Save