You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
280 B
11 lines
280 B
4 years ago
|
#!/usr/bin/env python3
|
||
|
import json
|
||
|
import sys
|
||
|
|
||
|
from common.params import Params
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
coords = sys.argv[1].split("/@")[-1].split("/")[0].split(",")
|
||
|
dest = {"latitude": coords[0], "longitude": coords[1]}
|
||
|
Params().put("NavDestination", json.dumps(dest))
|