Update SD-SeGrid-Execute.py

fixed method logic