Explorar el Código

Fix https://trac.osgeo.org/grass/changeset/49997

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50019 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements hace 13 años
padre
commit
9074959557
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/r.mask/r.mask.py

+ 1 - 1
scripts/r.mask/r.mask.py

@@ -64,7 +64,7 @@ def main():
     if not grass.find_file(input)['file'] and not remove:
         grass.fatal(_("<%s> does not exist.") % input)
 
-    if maskcats and not remove:
+    if maskcats != '*' and not remove:
         if grass.raster_info(input)['datatype'] != "CELL":
             grass.fatal(_("Raster map %s must be integer for maskcats parameter") % input)