def run(self):

        while (not self.flag) and \
              ((self.min < self.count) or (self.count < self.max)):
            self.spin()
            self.count += 1

        # Clean up display...
        self.out.write(" " * (len(self.string) + 1))
dataset/ETHPy150Open tanghaibao/jcvi/apps/console.py/SpinCursor.run/swapped operands of `<`