Could you convert the polls to strings before sending them in websockets -> 
handle_websocket ?
current_poll = str(current_poll, 'utf-8')
main_poll = str(main_poll, 'utf-8')
That way parsing them in js is straightforward
-- 
https://code.launchpad.net/~trb143/openlp/websockets/+merge/296703
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to