From 1b243822a9dfaeef51a8d5bc6bdbef8508de6a85 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 25 Dec 2019 20:20:43 +0530 Subject: [PATCH] Bugfix: remove unnecessary self param --- datacenterlight/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacenterlight/utils.py b/datacenterlight/utils.py index 13d8386c..cdbe1913 100644 --- a/datacenterlight/utils.py +++ b/datacenterlight/utils.py @@ -129,7 +129,7 @@ def check_otp(name, realm, token): return response.status_code -def validate_vat_number(self, stripe_customer_id, vat_number): +def validate_vat_number(stripe_customer_id, vat_number): try: billing_address = BillingAddress.objects.get(vat_number=vat_number) except BillingAddress.DoesNotExist as dne: