From 4a0c4e4d79a67f4d25123a812b02bdf6aeebd9ca Mon Sep 17 00:00:00 2001 From: Zhang Yunjun Date: Mon, 11 Mar 2019 19:10:06 -0400 Subject: [PATCH] bug fixed for sch as NoneType --- applications/gdal2isce_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/gdal2isce_xml.py b/applications/gdal2isce_xml.py index 5ce1cbd..9477c01 100755 --- a/applications/gdal2isce_xml.py +++ b/applications/gdal2isce_xml.py @@ -106,7 +106,7 @@ if __name__ == '__main__': elif sch == 'BAND': img.scheme = 'BSQ' else: - print('Unrecognized interleaving scheme, ' + sch) + print('Unrecognized interleaving scheme, {}'.format(sch)) print('Assuming default, BIP') img.scheme = 'BIP'