Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
teutoburg committed Oct 25, 2023
1 parent 98026bf commit 7f7a5b7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions skycalc_ipy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ def _get_jsondata(self, file_path: Path):
if file_path.exists():
return json.load(file_path.open(encoding="utf-8"))

url = self.BASE_URL + self.url

response = self._send_request()
if not response.text:
raise ValueError("Empty response.")
Expand Down Expand Up @@ -349,7 +347,7 @@ def __init__(self):
"lsf_boxcar_fwhm": 5.0, # wavelength bins float > 0
"observatory": "paranal", # paranal
}

super().__init__("/api/skycalc", params)

def fix_observatory(self):
Expand Down

0 comments on commit 7f7a5b7

Please sign in to comment.