From 3a8729b64760dbd374f97f64f078f63b7f3044a3 Mon Sep 17 00:00:00 2001 From: Daniel Sheppard Date: Fri, 2 Sep 2022 14:05:38 -0500 Subject: [PATCH] Fix PEP8 errors --- netbox/utilities/forms/widgets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/netbox/utilities/forms/widgets.py b/netbox/utilities/forms/widgets.py index 429a111b3..76a4bc607 100644 --- a/netbox/utilities/forms/widgets.py +++ b/netbox/utilities/forms/widgets.py @@ -116,7 +116,6 @@ class NumericArrayField(SimpleArrayField): f'Must be numeric and ranges must be in ascending order') return super().clean(value) - def to_python(self, value): if not value: return []