def __show_progress(self):
        
                counter = 0
                time_wait = 2
                progress = 100/(time_wait/self.__args.passive_timeout)
                
                start_time = time.time()
                while ( (time.time() - start_time) <  self.__args.passive_timeout ):
                        sys.stdout.write('\r')
                        
                        if ( progress < (100 - (progress*counter))):
                                sys.stdout.write("[%-20s] %d%%" % ('='*(counter*progress), progress*counter))
                        else:   
                                sys.stdout.write("[%-20s] %d%%" % ('='*(counter*progress), 100))
                                sys.stdout.write('\n\n')
                                
                        sys.stdout.flush()
                        counter = counter + 1
                        
                        time.sleep(time_wait)
dataset/ETHPy150Open galkan/flashlight/lib/passivescan.py/PassiveScan.__show_progress/swapped operands of `/`