From 3757cd2463256e9a44418055a59be3066a969834 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 29 May 2024 02:31:30 +0200 Subject: [PATCH] gdal_pansharpen.py: fix previous wrong change --- swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py b/swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py index d2d7ee1efb6a..b811dd2dd0c4 100644 --- a/swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py +++ b/swig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py @@ -69,7 +69,7 @@ def Usage(isError): @enable_gdal_exceptions -def main(argv=None): +def main(argv=sys.argv): argv = gdal.GeneralCmdLineProcessor(argv) if argv is None: