def run(self):
        logger.info(__version__ % 'Starting psdash v%s')

        self._setup_locale()
        self._setup_workers()

        logger.info('Listening on %s:%s',
                    self.app.config.get('PSDASH_BIND_HOST', self.DEFAULT_BIND_HOST),
                    self.app.config.get('PSDASH_PORT', self.DEFAULT_PORT))

        if self.app.config.get('PSDASH_AGENT'):
            return self._run_rpc()
        else:
            return self._run_web()
dataset/ETHPy150Open Jahaja/psdash/psdash/run.py/PsDashRunner.run/swapped operands of `%`