parent
							
								
									591eaa1cbc
								
							
						
					
					
						commit
						a947be76b0
					
				
				 1 changed files with 10 additions and 0 deletions
			
			
		@ -0,0 +1,10 @@ | 
				
			||||
#!/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)) | 
				
			||||
					Loading…
					
					
				
		Reference in new issue