{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1271","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1271/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1271/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1271/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/1271","id":167966206,"number":1271,"title":"Want to create a log when i catched pokemon","user":{"login":"rednka","id":20670732,"avatar_url":"https://avatars.githubusercontent.com/u/20670732?v=3","gravatar_id":"","url":"https://api.github.com/users/rednka","html_url":"https://github.com/rednka","followers_url":"https://api.github.com/users/rednka/followers","following_url":"https://api.github.com/users/rednka/following{/other_user}","gists_url":"https://api.github.com/users/rednka/gists{/gist_id}","starred_url":"https://api.github.com/users/rednka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rednka/subscriptions","organizations_url":"https://api.github.com/users/rednka/orgs","repos_url":"https://api.github.com/users/rednka/repos","events_url":"https://api.github.com/users/rednka/events{/privacy}","received_events_url":"https://api.github.com/users/rednka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-27T21:55:51Z","updated_at":"2016-07-28T17:06:57Z","closed_at":null,"body":"Hello, sorry for my bad language, i'm not english, i want to create a log.txt file when i catched a pokemon (write pokemon name and iv value in the text file)\r\n\r\ni'm a newbie to python, but i have search the script for catched pokemon, it's pokemongo_bot/cell_workers/pokemon_catch_worker.py right ?\r\n\r\nAfter the line 136 i have added : \r\n`fichier = open(\"log.txt\", \"a\")\r\nfichier.write(\"\\nNom: \".pokemon_name.\" %: \".pokemon_potential.\"\")\r\nfichier.close()`\r\n\r\nAnd i have this error : \r\nSyntaxError: invalid syntax\r\nTraceback (most recent call last):\r\n  File \"pokecli.py\", line 39, in <module>\r\n    from pokemongo_bot import logger\r\n  File \"D:\\Documents and Settings\\flo\\Bureau\\PokemonGo-B\r\n    from cell_workers import PokemonCatchWorker, SeenFor\r\n  File \"D:\\Documents and Settings\\flo\\Bureau\\PokemonGo-B\r\n    from pokemon_catch_worker import PokemonCatchWorker\r\n  File \"D:\\Documents and Settings\\flo\\Bureau\\PokemonGo-B\r\n    fichier.write(\"\\nNom: \".pokemon_name.\" %: \".cp.\"\")\r\n                                              ^\r\n\r\ni don't understand why it's bugged, can you help me ?\r\n\r\nthanks for the job ! have a nice day"},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/235959688","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/1271#issuecomment-235959688","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1271","id":235959688,"user":{"login":"rednka","id":20670732,"avatar_url":"https://avatars.githubusercontent.com/u/20670732?v=3","gravatar_id":"","url":"https://api.github.com/users/rednka","html_url":"https://github.com/rednka","followers_url":"https://api.github.com/users/rednka/followers","following_url":"https://api.github.com/users/rednka/following{/other_user}","gists_url":"https://api.github.com/users/rednka/gists{/gist_id}","starred_url":"https://api.github.com/users/rednka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rednka/subscriptions","organizations_url":"https://api.github.com/users/rednka/orgs","repos_url":"https://api.github.com/users/rednka/repos","events_url":"https://api.github.com/users/rednka/events{/privacy}","received_events_url":"https://api.github.com/users/rednka/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T17:06:57Z","updated_at":"2016-07-28T17:06:57Z","body":"2.7.X"}}
{"actor":{"display_login":"rednka"}}