From 567d2e4597e74ddf33d2c3b0fbccc7759e1c60aa Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 22 Mar 2023 11:02:21 -0400 Subject: [PATCH] Use old style string formatting So we don't break Python 2 quite yet --- duo_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duo_client/client.py b/duo_client/client.py index 981c92a..f321a86 100644 --- a/duo_client/client.py +++ b/duo_client/client.py @@ -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()