Skip to content

Commit

Permalink
get_instruments_list no additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Nov 9, 2023
1 parent 7cf40e6 commit c2afd2c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions oda_api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,9 +976,7 @@ def get_product_description(self, instrument, product_name):

@safe_run
def get_instruments_list(self):
url_request = "%s/api/instr-list" % self.url
print(f"url request: {url_request}")
res = requests.get(url_request,
res = requests.get("%s/api/instr-list" % self.url,
params=dict(instrument=self.instrument, token=self.token), cookies=self.cookies)

if res.status_code != 200:
Expand Down

0 comments on commit c2afd2c

Please sign in to comment.