[GRASS-SVN] r74155 - grass-addons/grass7/imagery/i.sentinel/i.sentinel.download

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 5 00:15:54 PST 2019


Author: martinl
Date: 2019-03-05 00:15:54 -0800 (Tue, 05 Mar 2019)
New Revision: 74155

Modified:
   grass-addons/grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py
Log:
i.sentinel.download: fix bug introduced in r74144

Modified: grass-addons/grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py
===================================================================
--- grass-addons/grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py	2019-03-04 22:03:06 UTC (rev 74154)
+++ grass-addons/grass7/imagery/i.sentinel/i.sentinel.download/i.sentinel.download.py	2019-03-05 08:15:54 UTC (rev 74155)
@@ -220,7 +220,7 @@
 
         for idx in range(len(self._products_df_sorted['uuid'])):
             if 'cloudcoverpercentage' in self._products_df_sorted:
-                ccp = '{2:2.0f}%'.format(self._products_df_sorted['cloudcoverpercentage'][idx])
+                ccp = '{0:2.0f}%'.format(self._products_df_sorted['cloudcoverpercentage'][idx])
             else:
                 ccp = 'cloudcover_NA'
 



More information about the grass-commit mailing list