old_contents: from sh import mtr
  from flask import request
  
  def mtrpy():
      clientIP = request.environ.get('REMOTE_ADDR')
      reportMTR = mtr("-r","-w",clientIP, _bg=True)
      return reportMTR
  
  
new_contents: from sh import mtr
  from flask import request
  
  def mtrpy():
      clientIP = request.environ.get('REMOTE_ADDR')
      reportMTR = mtr("-r","-w",clientIP, _bg=True)
      return reportMTR.wait()
  
  
subject: print the result