From 8620581e5c78296ead15af69e283f9568d563bc3 Mon Sep 17 00:00:00 2001 From: Maxime Bombar Date: Mon, 3 Dec 2018 03:56:41 +0100 Subject: [PATCH] [Printer] remove useless import --- printer/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/printer/models.py b/printer/models.py index 3bd9694d..63182b1a 100644 --- a/printer/models.py +++ b/printer/models.py @@ -41,7 +41,6 @@ from .settings import ( ) -import math """ - ```user_printing_path``` is a function that returns the path of the uploaded file, used with the FileField. @@ -255,7 +254,7 @@ class JobWithOptions(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model price_stapling = nb_staples * PRICES['Staples'] - total_price = math.floor(self.count * (price_ink + price_stapling)) + total_price = self.count * (price_ink + price_stapling) return total_price/100