mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that the ERD tool should work with the external database after moving to psycopg3. #6159
This commit is contained in:
@@ -478,7 +478,7 @@ def panel(trans_id):
|
||||
if "linux" in _platform:
|
||||
is_linux_platform = True
|
||||
|
||||
s = Server.query.filter_by(id=params['sid']).first()
|
||||
s = Server.query.filter_by(id=int(params['sid'])).first()
|
||||
|
||||
params.update({
|
||||
'bgcolor': s.bgcolor,
|
||||
|
||||
Reference in New Issue
Block a user