From 792b2d11c0a926d68304c9bf224767d93de66260 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 6 May 2021 16:46:52 +0200 Subject: [PATCH] cleanup --- InvenTree/part/views.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/InvenTree/part/views.py b/InvenTree/part/views.py index d946e6f509..040f32d441 100644 --- a/InvenTree/part/views.py +++ b/InvenTree/part/views.py @@ -1968,12 +1968,7 @@ class PartPricing(AjaxView): return None def get_pricing(self, quantity=1, currency=None): - - # try: - # quantity = int(quantity) - # except ValueError: - # quantity = 1 - + """ returns context with pricing information """ if quantity <= 0: quantity = 1