[GRASS-SVN] r73369 - grass/trunk/scripts/r.in.wms

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 19 06:26:53 PDT 2018


Author: annakrat
Date: 2018-09-19 06:26:53 -0700 (Wed, 19 Sep 2018)
New Revision: 73369

Modified:
   grass/trunk/scripts/r.in.wms/wms_base.py
Log:
r.in.wms: decode shouldn't be needed

Modified: grass/trunk/scripts/r.in.wms/wms_base.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_base.py	2018-09-19 12:28:31 UTC (rev 73368)
+++ grass/trunk/scripts/r.in.wms/wms_base.py	2018-09-19 13:26:53 UTC (rev 73369)
@@ -134,7 +134,7 @@
             self.proj_srs = grass.read_command('g.proj',
                                                flags='jf',
                                                epsg=str(GetEpsg(self.params['srs'])))
-        self.proj_srs = decode(self.proj_srs).rstrip('\n')
+        self.proj_srs = self.proj_srs.rstrip('\n')
 
         self.proj_srs = self._modifyProj(self.proj_srs)
 



More information about the grass-commit mailing list