Skip to content

Commit

Permalink
strings
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpus committed Feb 6, 2022
1 parent 4da0627 commit 732619f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eht_met_forecast/gfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def fetch_gfs_download(url, params, wait=False, verbose=False, stats=None):
retry_duration = RETRY_DELAY
r = requests.get(url, params=params, timeout=(CONN_TIMEOUT, READ_TIMEOUT))
if stats:
stats[int(r.status_code)] += 1
stats[str(r.status_code)] += 1
if r.status_code == requests.codes.ok:
errflag = 0
elif r.status_code == 404:
Expand Down

0 comments on commit 732619f

Please sign in to comment.