[GRASS-dev] [GRASS-SVN] r63227 - in grass/trunk/scripts: d.correlate d.out.file d.rast.leg d.redraw d.shadedmap d.to.rast d.vect.thematic d.what.rast d.what.vect

Glynn Clements glynn at gclements.plus.com
Mon Dec 1 08:45:45 PST 2014


Vaclav Petras wrote:

> > +    env = grass.gisenv()
> > +    mon = env.get('MONITOR', None)
> > +    if not mon:
> > +        grass.fatal(_("No graphics device selected. Use d.mon to select
> > graphics device."))
> >
> 
> Is this correct?

Not even remotely. I've removed the MONITOR checks from scripts in
r63315 (except for the ones which are wxGUI commands pretending to be
display commands; we still need to decide on a suitable prefix for
those).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list