def activatedEvent(self, reason):
        if [QtGui.QSystemTrayIcon.MiddleClick, QtGui.QSystemTrayIcon.Trigger] in reason:
            if self.window.isHidden() or self.window.isMinimized() or not self.window.isActiveWindow():
                self.restore()
            else:
                self.window.hide()
dataset/ETHPy150Open raelgc/scudcloud/scudcloud/systray.py/Systray.activatedEvent/swapped operands of `in`