def emit(self, event=None, **data):
        if event:
            data['event'] = event
        payload = data.pop('_payload', None)
        if not payload:
            payload = json.dumps(data)
        if payload != '{"event": "heartbeat"}':
            print (payload, self) % 'Emitting %s to %s'
        self.messages.put_nowait(payload)
dataset/ETHPy150Open chalasr/Flask-P2P/app.py/WebRTCUser.emit/swapped operands of `%`