Skip to content

Commit

Permalink
Apply ruff/Pyflakes rule F541
Browse files Browse the repository at this point in the history
F541 f-string without any placeholders
  • Loading branch information
DimitriPapadopoulos committed Jan 14, 2025
1 parent 88bb476 commit 42ae276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mriqc/interfaces/webapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def upload_qc_metrics(
timeout=15,
)
except requests.ConnectionError as err:
errmsg = (f'Error uploading IQMs: Connection error:', f'{err}')
errmsg = ('Error uploading IQMs: Connection error:', f'{err}')
except requests.exceptions.ReadTimeout as err:
errmsg = (f'Error uploading IQMs: Server {endpoint} is down.', f'{err}')

Expand Down

0 comments on commit 42ae276

Please sign in to comment.