Skip to content

Commit

Permalink
Use old style string formatting
Browse files Browse the repository at this point in the history
So we don't break Python 2 quite yet
  • Loading branch information
AaronAtDuo authored Mar 22, 2023
1 parent eb25127 commit 567d2e4
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 567d2e4

Please sign in to comment.