From 4c984c6a50b1aad0c9ab05ee01f1eea117ae5a80 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 9 Sep 2020 09:40:20 -0400
Subject: [PATCH] fix exception string formatting

---
 src/_zkapauthorizer/controller.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/_zkapauthorizer/controller.py b/src/_zkapauthorizer/controller.py
index 7dc5146..96d7074 100644
--- a/src/_zkapauthorizer/controller.py
+++ b/src/_zkapauthorizer/controller.py
@@ -458,7 +458,9 @@ class IssuerConfigurationMismatch(Exception):
     ZKAPs will not be usable and new ones must be obtained.
     """
     def __str__(self):
-        return "Announced issuer ({}) disagrees with configured issuer ({}).".format(self.args)
+        return "Announced issuer ({}) disagrees with configured issuer ({}).".format(
+            *self.args
+        )
 
 
 @implementer(IRedeemer)
-- 
GitLab