ソースを参照

wxGUI Vector Network Analysis Tool: fix execute analysis (#440)

Tomas Zigo 5 年 前
コミット
0184bff4d1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      gui/wxpython/vnet/vnet_data.py

+ 1 - 1
gui/wxpython/vnet/vnet_data.py

@@ -694,7 +694,7 @@ class VNETAnalysisParameters:
                 vectMaps = grass.list_grouped('vector')[mapSet]
                 vectMaps = grass.list_grouped('vector')[mapSet]
 
 
         if not params["input"] or mapName not in vectMaps:
         if not params["input"] or mapName not in vectMaps:
-            invParams = params.keys()[:]
+            invParams = list(params.keys())[:]
             return invParams
             return invParams
 
 
         # check arc/node layer
         # check arc/node layer