Skip to content

Commit

Permalink
updated error
Browse files Browse the repository at this point in the history
  • Loading branch information
Arohan Ajit authored and Arohan Ajit committed Oct 23, 2024
1 parent 8a35e7f commit df0c5d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/r.in.srtm/r.in.srtm.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
import atexit
import grass.script as gs
import zipfile as zfile
from grass.exceptions import CalledModuleError


tmpl1sec = """BYTEORDER M
Expand Down Expand Up @@ -277,7 +278,7 @@ def main():

try:
gs.run_command("r.in.gdal", input=bilfile, out=tileout)
except gs.CalledModuleError:
except CalledModuleError:
gs.fatal(_("Unable to import data"))

# nice color table
Expand Down

0 comments on commit df0c5d4

Please sign in to comment.