{"action":"created","issue":{"url":"https://api.github.com/repos/lukasmonk/lucaschess/issues/37","repository_url":"https://api.github.com/repos/lukasmonk/lucaschess","labels_url":"https://api.github.com/repos/lukasmonk/lucaschess/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/lukasmonk/lucaschess/issues/37/comments","events_url":"https://api.github.com/repos/lukasmonk/lucaschess/issues/37/events","html_url":"https://github.com/lukasmonk/lucaschess/issues/37","id":218681822,"number":37,"title":"Save tournaments PGNs","user":{"login":"cja000","id":25002014,"avatar_url":"https://avatars2.githubusercontent.com/u/25002014?v=3","gravatar_id":"","url":"https://api.github.com/users/cja000","html_url":"https://github.com/cja000","followers_url":"https://api.github.com/users/cja000/followers","following_url":"https://api.github.com/users/cja000/following{/other_user}","gists_url":"https://api.github.com/users/cja000/gists{/gist_id}","starred_url":"https://api.github.com/users/cja000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cja000/subscriptions","organizations_url":"https://api.github.com/users/cja000/orgs","repos_url":"https://api.github.com/users/cja000/repos","events_url":"https://api.github.com/users/cja000/events{/privacy}","received_events_url":"https://api.github.com/users/cja000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-01T08:57:07Z","updated_at":"2017-04-03T16:42:55Z","closed_at":null,"body":"Hi,\r\n\r\nI have seen that when you save all the matches of a tournament to a PGN there is no blank line between games.\r\nI don't know if I understand right the [PGN spec](https://www.chessclub.com/user/help/PGN-spec):\r\n\r\n> 8.2.1: Movetext line justification\r\n> ...\r\n> As with the tag pair section,\r\n> a single empty line follows the last line of data to conclude the movetext\r\n> section.\r\n> ...\r\n\r\nI guess that including a '\\n' in the file `Code\\Torneo.py` could do it:\r\n\r\n```\r\ndef pgn(self, torneo):\r\n...\r\n    return cabecera + \"\\n\" + base + \" %s\\n\\n\" % rs\r\n```\r\n\r\n\r\nBr\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lukasmonk/lucaschess/issues/comments/291200715","html_url":"https://github.com/lukasmonk/lucaschess/issues/37#issuecomment-291200715","issue_url":"https://api.github.com/repos/lukasmonk/lucaschess/issues/37","id":291200715,"user":{"login":"cja000","id":25002014,"avatar_url":"https://avatars2.githubusercontent.com/u/25002014?v=3","gravatar_id":"","url":"https://api.github.com/users/cja000","html_url":"https://github.com/cja000","followers_url":"https://api.github.com/users/cja000/followers","following_url":"https://api.github.com/users/cja000/following{/other_user}","gists_url":"https://api.github.com/users/cja000/gists{/gist_id}","starred_url":"https://api.github.com/users/cja000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cja000/subscriptions","organizations_url":"https://api.github.com/users/cja000/orgs","repos_url":"https://api.github.com/users/cja000/repos","events_url":"https://api.github.com/users/cja000/events{/privacy}","received_events_url":"https://api.github.com/users/cja000/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T16:42:55Z","updated_at":"2017-04-03T16:42:55Z","body":"Sorry I forgot to include the double '\\n' in the cabecera part also.\r\n\r\n```\r\ndef pgn(self, torneo):\r\n...\r\n    return cabecera + \"\\n\\n\" + base + \" %s\\n\\n\" % rs\r\n```\r\n\r\n"}}
{"actor":{"display_login":"cja000"}}