Skip to content

Commit ef62042

Browse files
committed
fix typo
1 parent d83d682 commit ef62042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caltechdata_api/decustomize_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def decustomize_schema(json_record):
5656
for a in authors:
5757
new = {}
5858
if 'authorAffiliation' in a:
59-
if isinstance(c['contributorAffiliation'],list):
59+
if isinstance(a['authorAffiliation'],list):
6060
new['affiliations'] = a['authorAffiliation']
6161
else:
6262
new['affiliations'] = [a['authorAffiliation']]

0 commit comments

Comments
 (0)