diff --git a/pingplace.py b/pingplace.py index 9641c7f..a353130 100644 --- a/pingplace.py +++ b/pingplace.py @@ -40,17 +40,17 @@ sock = ICMPv6Socket() ips=[] for w in range(width): if (r>=255): - if (g>=255): - if(b>=255): - r=0 - g=0 - b=0 - else: - b=b+1 + if (g>=255): + if(b>=255): + r=0 + g=0 + b=0 else: - g=g+1 + b=b+1 else: - r=r+1 + g=g+1 + else: + r=r+1 for h in range(hight): xcoord=x+w xcoord=f"{xcoord:#05x}".split('x')[-1]