app/controllers/extface/handler_controller.rb in extface-0.1.7 vs app/controllers/extface/handler_controller.rb in extface-0.1.8

- old
+ new

@@ -31,10 +31,10 @@ else Extface.redis_block do |r| r.append device.uuid, request.body.read @full_buffer = r.get device.uuid end - if bytes_porcessed = device.driver.handle(@full_buffer) + if bytes_porcessed = device.driver.handle(@full_buffer.b) Extface.redis_block do |r| r.set device.uuid, r.get(device.uuid)[bytes_porcessed] end end stream_job # stream right now :)