mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed convention related issues reported by SonarQube.
This commit is contained in:
committed by
Akshay Joshi
parent
2cefa9afca
commit
357a9179b1
@@ -117,8 +117,8 @@ def panel(trans_id, editor_title):
|
||||
# If title has slash(es) in it then replace it
|
||||
if request.args and request.args['fslashes'] != '':
|
||||
try:
|
||||
fslashesList = request.args['fslashes'].split(',')
|
||||
for idx in fslashesList:
|
||||
fslashes_list = request.args['fslashes'].split(',')
|
||||
for idx in fslashes_list:
|
||||
idx = int(idx)
|
||||
editor_title = editor_title[:idx] + '/' + editor_title[idx:]
|
||||
except IndexError as e:
|
||||
|
||||
Reference in New Issue
Block a user