From 7c73d7543c74b9d82f579164fffc6167db71e9d6 Mon Sep 17 00:00:00 2001 From: caryoscelus Date: Tue, 29 Nov 2022 16:39:21 +0000 Subject: [PATCH] minor code improvement use format strings for readability --- src/Content/ContentManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py index e43fef2b..d6086e19 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -793,7 +793,7 @@ class ContentManager(object): return 1 # Todo: Multisig def verifyCertSign(self, user_address, user_auth_type, user_name, issuer_address, sign): - cert_subject = "%s#%s/%s" % (user_address, user_auth_type, user_name) + cert_subject = f'{user_address}#{user_auth_type}/{user_name}' return CryptBitcoin.verify(cert_subject, issuer_address, sign) def verifyCert(self, inner_path, content):