Update settings.py

removed redundant upper()
This commit is contained in:
also-here 2023-03-05 18:57:08 -06:00 committed by GitHub
parent 6a11fe8b6a
commit 5ec5412fb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ class Settings:
xaddr = ('%x:%x:%x:%x:%x:%x:%x:%x' % (a, b, c, d, e, f, g, h))
xaddr = re.sub('(^|:)0{1,4}', ':', xaddr, count = 7)#Compresses expanded IPv6 address
xaddr = re.sub(':{3,7}', '::', xaddr, count = 7)
ret.append(xaddr.upper())
ret.append(xaddr)
else:
tab = l.split('.')
x = {}