def flush(self):
        """ Flush message queue if there's an active connection running """
        self._pending_flush = False

        if self.handler is None:
            return

        if self.send_queue.is_empty():
            return

        self.handler.send_pack(self.send_queue.get() % 'a[%s]')
        self.send_queue.clear()
dataset/ETHPy150Open flaviogrossi/sockjs-cyclone/sockjs/cyclone/session.py/Session.flush/swapped operands of `%`