{"comment":{"url":"https://api.github.com/repos/incuna/incuna-groups/comments/15120759","html_url":"https://github.com/incuna/incuna-groups/commit/d1c11206f4830f89c65c84f289a70058732d81d2#commitcomment-15120759","id":15120759,"user":{"login":"Ian-Foote","id":1843202,"avatar_url":"https://avatars.githubusercontent.com/u/1843202?v=3","gravatar_id":"","url":"https://api.github.com/users/Ian-Foote","html_url":"https://github.com/Ian-Foote","followers_url":"https://api.github.com/users/Ian-Foote/followers","following_url":"https://api.github.com/users/Ian-Foote/following{/other_user}","gists_url":"https://api.github.com/users/Ian-Foote/gists{/gist_id}","starred_url":"https://api.github.com/users/Ian-Foote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ian-Foote/subscriptions","organizations_url":"https://api.github.com/users/Ian-Foote/orgs","repos_url":"https://api.github.com/users/Ian-Foote/repos","events_url":"https://api.github.com/users/Ian-Foote/events{/privacy}","received_events_url":"https://api.github.com/users/Ian-Foote/received_events","type":"User","site_admin":false},"position":20,"line":229,"path":"groups/models.py","commit_id":"d1c11206f4830f89c65c84f289a70058732d81d2","created_at":"2015-12-22T15:22:55Z","updated_at":"2015-12-22T15:22:55Z","body":"I think this would be more readable:\r\n\r\n```python\r\nreturn self.file.name.replace('/groups/attachments/', '', 1)\r\n```"}}