Skip to content

Commit

Permalink
refactor: removing whitesapce
Browse files Browse the repository at this point in the history
  • Loading branch information
MueezKhan246 committed Dec 14, 2023
1 parent 2fa967f commit 45ce84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrated_channels/moodle/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def inner(self, *args, **kwargs):
f'Text: {response.text}, '
f'Headers: {response.headers}, '
)
return { 'status_code': 200, 'text': '' }
return {'status_code': 200, 'text': ''}
return 200, ''
raise ClientError('Moodle API Grade Update failed with int code: {code}'.format(code=body), 500)
if isinstance(body, str):
Expand Down

0 comments on commit 45ce84f

Please sign in to comment.