mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-20 22:06:28 +00:00
style improvments
This commit is contained in:
@ -2070,7 +2070,7 @@ class PartPricing(AjaxView):
|
||||
# check if data is set
|
||||
try:
|
||||
data = self.data
|
||||
except Exception as _e:
|
||||
except AttributeError:
|
||||
data = {}
|
||||
|
||||
# Always mark the form as 'invalid' (the user may wish to keep getting pricing data)
|
||||
|
Reference in New Issue
Block a user