From 793c6ef01a9480050a6d70a22b7766b7ff730f0e Mon Sep 17 00:00:00 2001 From: Greg Cox Date: Fri, 17 Feb 2023 17:46:07 +0000 Subject: [PATCH] Change an f-string to .format to restore py2.7 compatibility --- 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 8f2688d..54d365f 100644 --- a/duo_client/client.py +++ b/duo_client/client.py @@ -303,7 +303,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()