From 82f26b34e307f77cf789139d07f5c6c9f2ae4350 Mon Sep 17 00:00:00 2001 From: Pieter Lambrecht Date: Mon, 14 Mar 2022 12:56:06 +0100 Subject: [PATCH] #8233 FIX PEP8 Compliances --- netbox/users/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/users/models.py b/netbox/users/models.py index 47c6c491e..363b77689 100644 --- a/netbox/users/models.py +++ b/netbox/users/models.py @@ -253,7 +253,7 @@ class Token(BigIDModel): ips = ip.split('-') ip1 = ipaddress.ip_address(ips[0]) ip2 = ipaddress.ip_address(ips[1]) - if ip1>ip2: + if ip1 > ip2: raise ValidationError() else: iptest = ipaddress.ip_address(ip)