mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 20:48:17 -06:00
#8233 FIX PEP8 Compliances
This commit is contained in:
parent
a8d54f76fe
commit
82f26b34e3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user