fix indentation error

This commit is contained in:
Aaron Riedel 2023-07-18 09:35:40 +02:00
parent f21a2aec99
commit 635746d353
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -40,17 +40,17 @@ sock = ICMPv6Socket()
ips=[] ips=[]
for w in range(width): for w in range(width):
if (r>=255): if (r>=255):
if (g>=255): if (g>=255):
if(b>=255): if(b>=255):
r=0 r=0
g=0 g=0
b=0 b=0
else:
b=b+1
else: else:
g=g+1 b=b+1
else: else:
r=r+1 g=g+1
else:
r=r+1
for h in range(hight): for h in range(hight):
xcoord=x+w xcoord=x+w
xcoord=f"{xcoord:#05x}".split('x')[-1] xcoord=f"{xcoord:#05x}".split('x')[-1]