mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed issues reported by SonarQube.
This commit is contained in:
committed by
Akshay Joshi
parent
5afa4f1995
commit
d4a3e4d92c
@@ -204,9 +204,9 @@ def save(pid):
|
||||
|
||||
if data['name'] in ['vw_edt_tab_title_placeholder',
|
||||
'qt_tab_title_placeholder',
|
||||
'debugger_tab_title_placeholder']:
|
||||
if data['value'].isspace():
|
||||
data['value'] = ''
|
||||
'debugger_tab_title_placeholder'] \
|
||||
and data['value'].isspace():
|
||||
data['value'] = ''
|
||||
|
||||
res, msg = Preferences.save(
|
||||
data['mid'], data['category_id'], data['id'], data['value'])
|
||||
|
||||
Reference in New Issue
Block a user