@@ -48,20 +48,20 @@ def processCommand(alg, parameters, context, feedback):
4848 threshold = alg .parameterAsDouble (parameters , 'threshold' , context )
4949
5050 # Create the v.net connect command for from_layer integration
51- command = u" v.net input={} points={} output={} operation=connect threshold={} arc_layer=1 node_layer=2" .format (
51+ command = ' v.net -s input={} points={} output={} operation=connect threshold={} arc_layer=1 node_layer=2' .format (
5252 lineLayer , fromLayer , intLayer , threshold )
5353 alg .commands .append (command )
5454
5555 # Do it again with to_layer
56- command = u" v.net input={} points={} output={} operation=connect threshold={} arc_layer=1 node_layer=3" .format (
56+ command = ' v.net -s input={} points={} output={} operation=connect threshold={} arc_layer=1 node_layer=3' .format (
5757 intLayer , toLayer , netLayer , threshold )
5858 alg .commands .append (command )
5959
6060 # Connect the point layer database to the layer 2 of the network
61- command = u" v.db.connect -o map={} table={} layer=2" .format (netLayer , fromLayer )
61+ command = ' v.db.connect -o map={} table={} layer=2' .format (netLayer , fromLayer )
6262 alg .commands .append (command )
6363
64- command = u" v.db.connect -o map={} table={} layer=3" .format (netLayer , toLayer )
64+ command = ' v.db.connect -o map={} table={} layer=3' .format (netLayer , toLayer )
6565 alg .commands .append (command )
6666
6767 # remove undesired parameters
0 commit comments