Skip to content

Commit

Permalink
Fix quote marks
Browse files Browse the repository at this point in the history
  • Loading branch information
alstr committed Dec 6, 2024
1 parent 5d45b75 commit b436b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitHubClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_last_diff(self):
f'URL: {diff_url}',
f'Status code: {diff_request.status_code}']
if 'application/json' in diff_request.headers['content-type']:
error_response.append(f'Server response: {json.loads(diff_request.text)['message']}')
error_response.append(f"Server response: {json.loads(diff_request.text)['message']}")
error_response.append('Operation will abort')
raise Exception('\n'.join(error_response))

Expand Down

0 comments on commit b436b79

Please sign in to comment.