diff --git a/gui/wxpython/gmodeler/model_convert.py b/gui/wxpython/gmodeler/model_convert.py index 7558a6fcde2..66314093a8f 100644 --- a/gui/wxpython/gmodeler/model_convert.py +++ b/gui/wxpython/gmodeler/model_convert.py @@ -895,7 +895,7 @@ def cleanup(): r""" %s("g.remove", flags="f", type="raster", name=%s) """ - % (run_command, ",".join(f'"{x}"' for x in rast3d)) + % (run_command, ",".join(f'"{x}"' for x in rast)) ) if vect: self.fd.write(