mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Dont fail if asset already deleted
This commit is contained in:
parent
41003d106a
commit
061111d822
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class GitHub(Base): # {{{
|
|||
for fname in existing_assets:
|
||||
self.info(f'Deleting {fname} from GitHub')
|
||||
r = self.requests.delete(asset_url.format(existing_assets[fname]))
|
||||
if r.status_code != 204:
|
||||
if r.status_code not in (204, 404):
|
||||
self.fail(r, 'Failed to delete %s from GitHub' % fname)
|
||||
self.update_nightly_description(release['id'])
|
||||
for path, desc in self.files.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue