Skip to content

Commit

Permalink
Fix KeyError issue with format.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Nov 24, 2023
1 parent 3aa49d1 commit 5f73a9d
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 5f73a9d

Please sign in to comment.