Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
linakrisztian committed Sep 4, 2024
1 parent 6c3dcea commit 1576a88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions r.in.wcs.worker/r.in.wcs.worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

# %option
# % key: num_retry
# % type: int
# % type: integer
# % required: no
# % answer: 0
# % multiple: no
Expand Down Expand Up @@ -155,7 +155,7 @@ def main():
wcs_url = options["url"]
coverageid = options["coverageid"]
area = f"{options['area']}@{old_mapset}"
num_retry_max = options["num_retry"]
num_retry_max = int(options["num_retry"])

# setting region to area
grass.run_command("g.region", vector=area, res=res)
Expand Down Expand Up @@ -219,7 +219,7 @@ def main():
grass.warning(
_(
f"Failed to reach the server.\nURL: {url}. With Error {e}. "
"Retry {num_retry_no_connection}/{num_retry_max} ..."
f"Retry {num_retry_no_connection}/{num_retry_max} ..."
)
)
sleep(5)
Expand Down
2 changes: 1 addition & 1 deletion r.in.wcs/r.in.wcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

# %option
# % key: num_retry
# % type: int
# % type: integer
# % required: no
# % answer: 0
# % multiple: no
Expand Down

0 comments on commit 1576a88

Please sign in to comment.