Skip to content

Commit

Permalink
Merge pull request #269 from PROCOLLAB-github/hotfix_russian
Browse files Browse the repository at this point in the history
HOTFIX make stupid program understand russian
  • Loading branch information
sh1nkey authored Feb 12, 2024
2 parents 2f371f4 + c0b0925 commit e2cf974
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion partner_programs/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ def get_export_file(self, partner_program: PartnerProgram):
json_data = profile.partner_program_data
for key in json_schema:
row.append(
json_data.get(key.encode("ascii", errors="ignore").decode(), "")
json_data.get(
key, ""
) # .encode("ascii", errors="ignore").decode(), "")
)
response_data.append(row)

Expand Down

0 comments on commit e2cf974

Please sign in to comment.