def toggleSetting(self, UDID, option):
        self.checkSection(UDID)
        cur = self.cfg.get(UDID, option)
        opts = options[option]
    
        # find current in list
        i=0
        for i,opt in enumerate(opts):
            if opt==cur:
                break
    
        # get next option (circle to first)
        i=i+1
        if len(opts) >= i:
            i=0
    
        # set
        self.cfg.set(UDID, option, opts[i])
dataset/ETHPy150Open iBaa/PlexConnect/ATVSettings.py/CATVSettings.toggleSetting/swapped operands of `>=`