X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fhtml_out.py;h=89e2f675ca1612790cb79437a8548d199cb9b978;hp=2d5a929965f50277da54ff4f5ef26a5814c672f5;hb=c26740a54b2b1acf5663aab0b2c4753b9949504c;hpb=e395aa49c788ab9c776d16b49b75cf80a54af532;ds=sidebyside diff --git a/osm_nbi/html_out.py b/osm_nbi/html_out.py index 2d5a929..89e2f67 100644 --- a/osm_nbi/html_out.py +++ b/osm_nbi/html_out.py @@ -196,8 +196,11 @@ def format(data, request, response, toke_info): if "Location" in response.headers: body += ' show '.format(response.headers["Location"]) else: - _id = request.path_info[request.path_info.rfind("/") + 1 :] - body += ' '.format( + _id = request.path_info[request.path_info.rfind("/") + 1:] + body += ( + ' ' + ' ' + ).format( request.path_info ) if request.path_info.startswith(