Ensure that the ERD tool should work with the external database after moving to psycopg3. #6159

This commit is contained in:
Akshay Joshi committed 2023-04-20 15:37:43 +05:30
1 parent 20132f8daa
commit c19fc3628c
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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,