Skip to content

Commit d2664cc

Browse files
committed
Merge branch 'odysseus9672-master'
2 parents dc9bbe2 + eaf2a14 commit d2664cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

astroquery/ibe/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,9 @@ def list_missions(self, cache=True):
276276

277277
root = BeautifulSoup(response.text)
278278
links = root.findAll('a')
279-
missions = [os.path.basename(a.attrs['href']) for a in links]
279+
280+
missions = [os.path.basename(a.attrs['href'].rstrip('/'))
281+
for a in links]
280282
self._missions = missions
281283

282284
return missions

0 commit comments

Comments
 (0)