fix: Correct syntax error in HorizonsService.get_object_data_raw (string literal quotes)
parent
f0e6e3a4fe
commit
d38de785e6
|
|
@ -34,7 +34,7 @@ class HorizonsService:
|
||||||
"""
|
"""
|
||||||
url = "https://ssd.jpl.nasa.gov/api/horizons.api"
|
url = "https://ssd.jpl.nasa.gov/api/horizons.api"
|
||||||
# Ensure ID is quoted for COMMAND
|
# Ensure ID is quoted for COMMAND
|
||||||
cmd_val = f"'{body_id}'" if not body_id.startswith("'"') else body_id
|
cmd_val = f"'{body_id}'" if not body_id.startswith("'") else body_id
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
"format": "text",
|
"format": "text",
|
||||||
|
|
@ -113,7 +113,7 @@ class HorizonsService:
|
||||||
logger.info(f"Querying Horizons (httpx) for body {body_id} from {start_str} to {end_str}")
|
logger.info(f"Querying Horizons (httpx) for body {body_id} from {start_str} to {end_str}")
|
||||||
|
|
||||||
url = "https://ssd.jpl.nasa.gov/api/horizons.api"
|
url = "https://ssd.jpl.nasa.gov/api/horizons.api"
|
||||||
cmd_val = f"'{body_id}'" if not body_id.startswith("'"') else body_id
|
cmd_val = f"'{body_id}'" if not body_id.startswith("'") else body_id
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
"format": "text",
|
"format": "text",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue