File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1210,14 +1210,13 @@ def _prep_loc_dict(loc_dict, attr_name):
1210
1210
1211
1211
@staticmethod
1212
1212
def _location_to_params (loc_dict ):
1213
- """translate a 'location' dict to a dict of request parameters"""
1214
- loc_dict = {
1213
+ """translate a 'location' dict to request parameters"""
1214
+ location = {
1215
1215
"CENTER" : f"coord@{ loc_dict ['body' ]} " ,
1216
1216
"COORD_TYPE" : "GEODETIC" ,
1217
- "SITE_COORD" : HorizonsClass ._format_site_coords (loc_dict )
1217
+ "SITE_COORD" : "'{}'" . format ( str ( HorizonsClass ._format_site_coords (loc_dict )) )
1218
1218
}
1219
- loc_dict ["SITE_COORD" ] = f"'{ loc_dict ['SITE_COORD' ]} '"
1220
- return loc_dict
1219
+ return location
1221
1220
1222
1221
@staticmethod
1223
1222
def _format_site_coords (coords ):
You can’t perform that action at this time.
0 commit comments