Skip to content

Commit

Permalink
i.modis.import: remove grass version check (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
landam committed Mar 2, 2022
1 parent 5c81569 commit d6609bf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/imagery/i.modis/i.modis.import/i.modis.import.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,12 +613,6 @@ def main():
elif options["input"] != "" and options["files"] != "":
grass.fatal(_('It is not possible set "input" and "files"' " options together"))
return 0
# check the version
version = grass.core.version()
# this is would be set automatically
if version["version"].find("7.") == -1:
grass.fatal(_("GRASS GIS version 7 required"))
return 0
# check if remove the files or not
if flags["t"]:
remove = False
Expand Down

0 comments on commit d6609bf

Please sign in to comment.