Skip to content

Commit

Permalink
Merge pull request #4185 from mikhailprivalov/fixcustomResearch
Browse files Browse the repository at this point in the history
fix customResearch
  • Loading branch information
Wellheor1 authored Aug 11, 2024
2 parents f5766b9 + be6ecb6 commit ba6db20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion statistic/report/custom_research.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ def custom_research_fill_data(ws1, result_query, row=6):
except:
is_dict = False
if not is_dict:
ws1.cell(row=r, column=column).value = i.get(title, '')
try:
ws1.cell(row=r, column=column).value = i.get(title, '')
except:
ws1.cell(row=r, column=column).value = '-'
ws1.cell(row=r, column=column).style = style_border1
else:
for i in table_data.get("rows"):
Expand Down

0 comments on commit ba6db20

Please sign in to comment.