Skip to content

Commit

Permalink
Merge pull request #570 from DonnchaC/release-browser-download-url
Browse files Browse the repository at this point in the history
Include browser_download_url attribute with Asset object
  • Loading branch information
itsmemattchung committed Feb 10, 2016
2 parents 5477506 + 717fe78 commit 38de787
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github3/repos/release.py
Expand Up @@ -195,6 +195,8 @@ def _update_attributes(self, asset):
#: URL to download the asset.
#: Request headers must include ``Accept: application/octet-stream``.
self.download_url = self._api
# User friendly download URL
self.browser_download_url = asset.get('browser_download_url')
#: GitHub id of the asset
self.id = asset.get('id')
#: Short description of the asset
Expand Down

0 comments on commit 38de787

Please sign in to comment.