Skip to content

Commit

Permalink
Ensure header name is in string format
Browse files Browse the repository at this point in the history
  • Loading branch information
reinbach committed Apr 19, 2019
1 parent 3d338c2 commit 6039351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unicef_rest_export/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_header_label(self, field):
def get_headers(self, data):
headers = []
for field in data[0].keys():
headers.append(self.get_header_label(field))
headers.append(str(self.get_header_label(field)))
return headers

def get_dataset(self, data):
Expand Down

0 comments on commit 6039351

Please sign in to comment.