Skip to content

Commit

Permalink
fix reported problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
n1kdo committed Dec 21, 2023
1 parent 499873a commit 353885e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adif.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,13 +487,13 @@ def call_lotw(**params):

data = urllib.parse.urlencode(params)
req = urllib.request.Request(url + '?' + data)
logging.debug(f'calling {url}?{data} ...')
logging.debug(f'calling {url}...')
t0 = time.time()
try:
response = urllib.request.urlopen(req)
t1 = time.time()
except urllib.error.HTTPError as q:
logging.error(f'problem with request {req.full_url}')
logging.error(f'problem with request {url}')
logging.error(q.reason)
for line in q:
logging.error(line)
Expand Down

0 comments on commit 353885e

Please sign in to comment.