still flailing - try empty name
This commit is contained in:
parent
0c0b85aa7a
commit
c05e85d0f8
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue