Skip to content

Commit

Permalink
for some reason black autoformat and flake8 do not agree on this
Browse files Browse the repository at this point in the history
  • Loading branch information
OnnoEbbens committed Jul 11, 2024
1 parent 88191f7 commit 2425292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydropandas/io/bro.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def _get_gmw_from_bro_id(bro_id, retries=0):
gmws = tree.findall(".//dsgmw:GMW_PO", ns)
if len(gmws) != 1:
val_ind = req.text.find("valid")
valid = req.text[(val_ind + 9) : (val_ind + 14)]
valid = req.text[(val_ind + 9):(val_ind + 14)]
if valid == "false" and retries < 5:
logger.debug(
f"got invalid response for {bro_id}, trying again {retries+1}/4"
Expand Down

0 comments on commit 2425292

Please sign in to comment.