Skip to content

Commit

Permalink
Fixed: HLS receive data format
Browse files Browse the repository at this point in the history
  • Loading branch information
nyacom committed Dec 11, 2019
1 parent fe9450c commit aeca45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ficwww.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def rest_hls_post():
with Opengpio():
hls_data = Fic.hls_receive(hls_data_count) # Todo: is any 8bit I/F?

return jsonify({"return": "success", "data": hls_data})
return jsonify({"return": "success", "data": list(hls_data)})

elif hls_cmd == 'send':
if ST['hls']['status'] == 'stop':
Expand Down

0 comments on commit aeca45a

Please sign in to comment.