Skip to content

Commit

Permalink
Replace None with empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed Aug 31, 2024
1 parent 6aec6c2 commit 2860a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_migration/data_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def build_result_row(self):
"registration": {
"school": {
"code": "",
"name": self.school,
"name": self.school if (self.school is not None and self.school != "None") else "",
"abbreviation": "",
"street": "",
"city": "",
Expand Down

0 comments on commit 2860a80

Please sign in to comment.