still flailing - try empty name

This commit is contained in:
jobevers 2017-02-23 10:46:36 -06:00
parent 0c0b85aa7a
commit c05e85d0f8

View file

@ -97,8 +97,7 @@ def upload_asset(release, asset_to_upload, token):
def _upload_asset(release, asset_to_upload, token, uploader): def _upload_asset(release, asset_to_upload, token, uploader):
basename = os.path.basename(asset_to_upload) basename = os.path.basename(asset_to_upload)
upload_uri = uritemplate.expand( upload_uri = uritemplate.expand(
release.upload_url, release.upload_url
{'name': ''.join([random.choice('abcdef') for _ in range(10)])}
) )
output = uploader(upload_uri, asset_to_upload, token) output = uploader(upload_uri, asset_to_upload, token)
if 'errors' in output: if 'errors' in output: