mirror of
https://github.com/simple-login/app.git
synced 2024-09-29 13:11:29 +02:00
linting
This commit is contained in:
parent
1e5185b328
commit
fefbaeb143
@ -95,7 +95,7 @@ def change_plan(subscription_id: str, plan_id) -> (bool, str):
|
|||||||
# "unable to complete the resubscription because we could not charge the customer for the resubscription"
|
# "unable to complete the resubscription because we could not charge the customer for the resubscription"
|
||||||
if res["error"]["code"] == 147:
|
if res["error"]["code"] == 147:
|
||||||
return False, "Your card cannot be charged"
|
return False, "Your card cannot be charged"
|
||||||
except:
|
except KeyError:
|
||||||
LOG.exception(
|
LOG.exception(
|
||||||
f"cannot change subscription {subscription_id} to {plan_id}, paddle response: {res}"
|
f"cannot change subscription {subscription_id} to {plan_id}, paddle response: {res}"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user