Skip to content

Commit 97bbae3

Browse files
committed
Actually replace the SIMBAD URL with the https version
1 parent e219b21 commit 97bbae3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

galpy/orbit/Orbits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7598,7 +7598,7 @@ def _from_name_oneobject(name, obs):
75987598
# setup a SIMBAD query with the appropriate fields
75997599
simbad = Simbad()
76007600
# Make sure to make an HTTPS request so this code works in the browser
7601-
simbad.SIMBAD_URL.replace("http://", "https://")
7601+
simbad.SIMBAD_URL = simbad.SIMBAD_URL.replace("http://", "https://")
76027602
simbad.add_votable_fields(
76037603
"ra(d)", "dec(d)", "pmra", "pmdec", "rv_value", "plx", "distance"
76047604
)

0 commit comments

Comments
 (0)