Hi,
Please find the attached patch to fix the RM #2964: [Desktop Runtime]pgAdmin4 crash if user download query as CVS.
Patch by Neel Patel.
Thanks,Khushboo