Skip to content

Commit

Permalink
Merge pull request spyder-ide#21548 from mrclary/issue-21546
Browse files Browse the repository at this point in the history
PR: Fix KeyError issue with format in update worker
  • Loading branch information
ccordoba12 authored Nov 24, 2023
2 parents 3aa49d1 + 5f73a9d commit 739457e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/workers/updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def start(self):
error_msg = CONNECT_ERROR_MSG
logger.debug(err, stack_info=True)
except HTTPError as err:
error_msg = HTTP_ERROR_MSG.format(page.status_code)
error_msg = HTTP_ERROR_MSG.format(status_code=page.status_code)
logger.debug(err, stack_info=True)
except Exception as err:
error = traceback.format_exc()
Expand Down

0 comments on commit 739457e

Please sign in to comment.