You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
422 B

  1. # -*- coding: utf-8 -*-
  2. # © 2015 Aserti Global Solutions
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from werkzeug.serving import WSGIRequestHandler
  5. def restore_address_string(cr, reg):
  6. if hasattr(WSGIRequestHandler, '_address_string_org'):
  7. WSGIRequestHandler.address_string = \
  8. WSGIRequestHandler._address_string_org
  9. del WSGIRequestHandler._address_string_org