On 23 March 2018 at 11:57, Nyall Dawson <[email protected]> wrote: > On 23 March 2018 at 11:35, Vaclav Petras <[email protected]> wrote: > >> >> I'm not sure what exactly you want to use os.path.isfile() for, but >> etc/colors/grass is a file in GRASS GIS since 7.2, so os.path.isfile() will >> return True. In unix, you can see if the file is executable with >> os.access(name, os.X_OK) (not sure if instead or in addtion to >> os.path.isfile()). On Windows, testing for .bat or some other extension >> might be the right test. >> >
William/others, Can you please test https://github.com/qgis/QGIS/pull/6676 and confirm that the fix works? Thanks, Nyall _______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
