From 2be59cb0c80af70dc225470da9c5c7dc20dd7f43 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 20 Apr 2019 07:41:07 +0200 Subject: [PATCH] Add missing return value --- hosting/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/models.py b/hosting/models.py index bfe608de..af16bfb0 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -309,7 +309,7 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model): else: logger.debug("Neither subscription id nor vm_id available") logger.debug("Can't import invoice") - return + return None instance = cls.objects.create( created=datetime.utcfromtimestamp(