Browse Source

[Printer] remove useless import

printer
Maxime Bombar 7 years ago
committed by root
parent
commit
8620581e5c
  1. 3
      printer/models.py

3
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

Loading…
Cancel
Save