[GRASS-SVN] r74103 - grass/trunk/gui/wxpython/web_services

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 17 18:25:54 PST 2019


Author: annakrat
Date: 2019-02-17 18:25:54 -0800 (Sun, 17 Feb 2019)
New Revision: 74103

Modified:
   grass/trunk/gui/wxpython/web_services/dialogs.py
Log:
wxGUI: missing parameter, throws error in Python 3

Modified: grass/trunk/gui/wxpython/web_services/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/web_services/dialogs.py	2019-02-17 22:32:26 UTC (rev 74102)
+++ grass/trunk/gui/wxpython/web_services/dialogs.py	2019-02-18 02:25:54 UTC (rev 74103)
@@ -311,7 +311,7 @@
     def OnSettingsChanged(self, data):
         """Update widgets according to chosen settings"""
         # data list: [server, username, password]
-        if len < 3:
+        if len(data) < 3:
             return
 
         self.server.SetValue(data[0])



More information about the grass-commit mailing list