def spinRateChange(self, event):
        self.multisenseChanged = True
        spinRate = self.getSpinRate()

        if spinRate == 0.0:
            scanDuration = 240.0
        else:
            scanDuration = abs((spinRate * 2) / 60.0)
        if scanDuration > 240.0:
            scanDuration = 240.0

        self.widget.scanDurationSpinner.blockSignals(True)
        self.widget.scanDurationSpinner.value = scanDuration
        self.widget.scanDurationSpinner.blockSignals(False)
dataset/ETHPy150Open RobotLocomotion/director/src/python/director/multisensepanel.py/MultisensePanel.spinRateChange/swapped operands of `/`