Fix GitHub filename

This commit is contained in:
Florian Bruhin 2016-11-05 23:35:56 +01:00
parent f7cfb6afc3
commit 0c9a97225a

View File

@ -258,7 +258,7 @@ def github_upload(artifacts, tag):
with open(filename, 'rb') as f:
basename = os.path.basename(filename)
asset = release.upload_asset(mimetype, basename, f)
asset.edit(filename, description)
asset.edit(basename, description)
def pypi_upload(artifacts):