Просмотр исходного кода

wxGUI: fix problem with Python addons not showing up on Windows, see https://trac.osgeo.org/grass/ticket/3177

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72658 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 7 лет назад
Родитель
Сommit
91002a1555
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      gui/wxpython/core/toolboxes.py

+ 1 - 1
gui/wxpython/core/toolboxes.py

@@ -523,7 +523,7 @@ def _getAddons():
 
     flist = []
     for line in output.splitlines():
-        if not line.startswith('executables'):
+        if not line.startswith('name'):
             continue
         for fexe in line.split('=', 1)[1].split(','):
             flist.append(fexe)