old_contents: from __future__ import absolute_import, division, print_function
  
  from . import app
  
  
  from .logic import get_speed
  
  @app.route('/')
  def index():
      return app.send_static_file('index.html')
  
  
  @app.route('/sensors/speed')
  def speed():
      return get_speed()
  
new_contents: from __future__ import absolute_import, division, print_function
  
  from . import app
  
  
  from .logic import get_speed
  
  @app.route('/')
  def index():
      return app.send_static_file('index.html')
  
  
  @app.route('/sensors/speed')
  def speed():
      return str(get_speed())
  
subject: Convert to string bugfix