fix indentation error
This commit is contained in:
parent
f21a2aec99
commit
635746d353
1 changed files with 9 additions and 9 deletions
18
pingplace.py
18
pingplace.py
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue