Skip to content

Commit c0b0925

Browse files
committed
HOTFIX make stupid program understand russian
1 parent 2f371f4 commit c0b0925

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

partner_programs/admin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ def get_export_file(self, partner_program: PartnerProgram):
105105
json_data = profile.partner_program_data
106106
for key in json_schema:
107107
row.append(
108-
json_data.get(key.encode("ascii", errors="ignore").decode(), "")
108+
json_data.get(
109+
key, ""
110+
) # .encode("ascii", errors="ignore").decode(), "")
109111
)
110112
response_data.append(row)
111113

0 commit comments

Comments
 (0)