[GRASS-user] i.spectral.py in WinGrass

Martin Landa landa.martin at gmail.com
Thu Dec 23 17:36:45 EST 2010


Hi,

2010/12/8 Glynn Clements <glynn at gclements.plus.com>:
> The bug is in GetGRASSCmds in globalvar.py. It checks whether the last
> 4 characters of the filename are '.exe' or '.py'. As '.py' is only 3
> characters, it will never match. The code should be using
> os.path.splitext().

fixed in r44691.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-user mailing list