Skip to content

Commit

Permalink
use f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
pbelskiy committed Jun 24, 2023
1 parent 2b233e0 commit 8127a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiojenkins/builds.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def format_data(parameters: Optional[dict], kwargs: Any) -> Optional[dict]:
response = await self.jenkins._request(
'POST',
path,
params={'delay': '{0}sec'.format(delay)},
params={'delay': f'{delay}sec'},
data=data,
)

Expand Down

0 comments on commit 8127a87

Please sign in to comment.