From a9bbdd40bd3c986841d6d2e4d12dc8a1e61d29b7 Mon Sep 17 00:00:00 2001 From: nineven Date: Wed, 20 Apr 2022 17:05:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=BB=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=BC=80=E5=8F=91=E8=80=85=E5=8F=91=E9=80=81?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_ser/xsign/utils/supersignutils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fir_ser/xsign/utils/supersignutils.py b/fir_ser/xsign/utils/supersignutils.py index ec1d358..117f2b5 100644 --- a/fir_ser/xsign/utils/supersignutils.py +++ b/fir_ser/xsign/utils/supersignutils.py @@ -499,11 +499,12 @@ class IosUtils(object): if self.developer_obj: self.auth = get_auth_form_developer(self.developer_obj) else: + if read_only: + return logger.error(f"user {self.user_obj} has no active apple developer") if send_msg_over_limit("get", self.user_obj.email): send_msg_over_limit("set", self.user_obj.email) sign_unavailable_developer_notify(self.user_obj, self.app_obj) - else: logger.error(f"user {self.user_obj} send msg failed. over limit")