{"action":"closed","issue":{"url":"https://api.github.com/repos/fritz-smh/domogik-plugin-geoloc/issues/2","repository_url":"https://api.github.com/repos/fritz-smh/domogik-plugin-geoloc","labels_url":"https://api.github.com/repos/fritz-smh/domogik-plugin-geoloc/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fritz-smh/domogik-plugin-geoloc/issues/2/comments","events_url":"https://api.github.com/repos/fritz-smh/domogik-plugin-geoloc/issues/2/events","html_url":"https://github.com/fritz-smh/domogik-plugin-geoloc/issues/2","id":178950944,"number":2,"title":" domogik-plugin-geoloс needs to reverse the longitude-latitude","user":{"login":"axboct","id":11463718,"avatar_url":"https://avatars.githubusercontent.com/u/11463718?v=3","gravatar_id":"","url":"https://api.github.com/users/axboct","html_url":"https://github.com/axboct","followers_url":"https://api.github.com/users/axboct/followers","following_url":"https://api.github.com/users/axboct/following{/other_user}","gists_url":"https://api.github.com/users/axboct/gists{/gist_id}","starred_url":"https://api.github.com/users/axboct/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axboct/subscriptions","organizations_url":"https://api.github.com/users/axboct/orgs","repos_url":"https://api.github.com/users/axboct/repos","events_url":"https://api.github.com/users/axboct/events{/privacy}","received_events_url":"https://api.github.com/users/axboct/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-23T19:03:41Z","updated_at":"2016-09-23T19:44:51Z","closed_at":"2016-09-23T19:44:51Z","body":"dirty hack brought me home from Iran\r\n```\r\ndiff --git a/lib/geoloc.py b/lib/geoloc.py\r\nindex 96ff6bb..8851dad 100644\r\n--- a/lib/geoloc.py\r\n+++ b/lib/geoloc.py\r\n@@ -86,7 +86,7 @@ def position_post(device):\r\n         #print(\"latitude = {0}\".format(latitude))\r\n         #print(\"longitude = {0}\".format(longitude))\r\n         position_format = \"trip tracker android application\"\r\n-        g.send_xpl_position_degree(device, \"{0},{1}\".format(longitude, latitude))\r\n+        g.send_xpl_position_degree(device, \"{1},{0}\".format(longitude, latitude))\r\n \r\n     except:\r\n         if debug:\r\n```\r\n\r\n"}}
{"actor":{"display_login":"fritz-smh"}}