From 635746d3539ca2f4cf998fe03e0f92cad49399cb Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Tue, 18 Jul 2023 09:35:40 +0200 Subject: [PATCH] fix indentation error --- pingplace.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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]