Skip to content

Commit

Permalink
Merge pull request #202 from duosecurity/AaronAtDuo-rework-fstring
Browse files Browse the repository at this point in the history
Use old style string formatting
  • Loading branch information
yizshi authored Mar 22, 2023
2 parents eb25127 + 567d2e4 commit 6e726f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duo_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def api_call(
body = ''
params = normalize_params(params)
else:
raise ValueError(f"unsupported sig_version {sig_version}")
raise ValueError('unsupported sig_version {}'.format(sig_version))

if self.sig_timezone == 'UTC':
now = email.utils.formatdate()
Expand Down

0 comments on commit 6e726f2

Please sign in to comment.