def check(self):
        if time.time() < self.lastrun + self.interval:
            if self.debug is True:
                # this makes the plugin fail with stack trace in debug mode
                self.function()
            else:
                # otherwise we log the exception and carry on
                try:
                    self.function()
                except Exception:
                    logging.exception("Problem in job check: {}".format(self.function))
            self.lastrun = time.time()
dataset/ETHPy150Open slackhq/python-rtmbot/rtmbot/core.py/Job.check/swapped operands of `<`