what about using string.trim() correctly?!
This commit is contained in:
parent
1fd9c1d8f2
commit
e22b74016e
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ command interface /autopilot/route-manager/input:
|
|||
call(func {
|
||||
var file = io.open(path.getValue(), "r");
|
||||
while ((var wp = io.readln(file)) != nil) {
|
||||
string.trim(wp);
|
||||
wp = string.trim(wp);
|
||||
if (wp != "")
|
||||
setprop("/autopilot/route-manager/input", wp);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue