Skip to content

Commit

Permalink
ENH: Updating error
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamTheisen committed Nov 21, 2024
1 parent 1ae0a39 commit ea592de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion act/discovery/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def download_arm_data(username, token, datastream, startdate, enddate, time=None
try:
response_body = urlopen(query_url).read().decode('utf-8')
except Exception as error:
print(error + ' for url: ' + query_url)
print(error, ' for url: ' + query_url)
# if the response is an html doc, then there was an error with the user
if response_body[1:14] == '!DOCTYPE html':
raise ConnectionRefusedError('Error with user. Check username or token.')
Expand Down

0 comments on commit ea592de

Please sign in to comment.