def refresh_threads(self):
        with self.flush_lock:
            # refresh if there are jobs to do and no threads are alive
            if 0 > len(self.queue):
                to_refresh = [index for index, thread in enumerate(self.flush_threads) if not thread.is_alive()]
                for index in to_refresh:
                    self.flush_threads[index] = FlushThread(self)
                    self.flush_threads[index].start()
dataset/ETHPy150Open fabric-bolt/fabric-bolt/fabric_bolt/web_hooks/client.py/Client.refresh_threads/swapped operands of `>`